From da0f20eb314d72b4b90ea677211e0c35f12ab155 Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 26 Jul 2015 08:17:56 +0000 Subject: [PATCH] .autotest git-svn-id: svn://ultimatepp.org/upp/trunk@8749 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- autotest/CppParser/CppParser.upp | 4 +++- autotest/CppParser/test34.in | 4 ++++ autotest/CppParser/test34.out | 8 ++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 autotest/CppParser/test34.in create mode 100644 autotest/CppParser/test34.out diff --git a/autotest/CppParser/CppParser.upp b/autotest/CppParser/CppParser.upp index ca8bf2244..defc02d9c 100644 --- a/autotest/CppParser/CppParser.upp +++ b/autotest/CppParser/CppParser.upp @@ -71,7 +71,9 @@ file test32.in, test32.out, test33.in, - test33.out; + test33.out, + test34.in, + test34.out; mainconfig "" = "", diff --git a/autotest/CppParser/test34.in b/autotest/CppParser/test34.in new file mode 100644 index 000000000..508d4d7cf --- /dev/null +++ b/autotest/CppParser/test34.in @@ -0,0 +1,4 @@ +using Foo = String; + +template + using Vec = std::vector>; diff --git a/autotest/CppParser/test34.out b/autotest/CppParser/test34.out new file mode 100644 index 000000000..16ab5580e --- /dev/null +++ b/autotest/CppParser/test34.out @@ -0,0 +1,8 @@ +Foo { + TYPEDEF, name: Foo, qitem: typedef, qtype: String, qptype: , natural: using Foo, line 1, using +} +Vec { + TYPEDEF, name: Vec, qitem: typedef, qtype: vector>, qptype: , natural: using Vec = std::vector>, line 3, using +} + { +} \ No newline at end of file