From ad419400cdbe05050728e204e2da2a108f5d5568 Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 26 Jul 2015 08:27:11 +0000 Subject: [PATCH] .autotest git-svn-id: svn://ultimatepp.org/upp/trunk@8751 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- autotest/CppParser/test32.in | 4 ++++ autotest/CppParser/test32.out | 15 ++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/autotest/CppParser/test32.in b/autotest/CppParser/test32.in index 837861a23..09b4ba6d9 100644 --- a/autotest/CppParser/test32.in +++ b/autotest/CppParser/test32.in @@ -45,6 +45,10 @@ int final; thread_local int ThreadLocal; +inline namespace Upp { + int in_inline_namespace; +}; + void Fn() { static_assert(sizeof(long)>=8, "64-bit code generation required for this library."); diff --git a/autotest/CppParser/test32.out b/autotest/CppParser/test32.out index 5bb4e8528..47927c20d 100644 --- a/autotest/CppParser/test32.out +++ b/autotest/CppParser/test32.out @@ -15,7 +15,8 @@ Y { VARIABLE, name: override, qitem: override, qtype: , qptype: , natural: int override, line 43, using VARIABLE, name: final, qitem: final, qtype: , qptype: , natural: int final, line 44, using VARIABLE, name: ThreadLocal, qitem: ThreadLocal, qtype: , qptype: , natural: thread_local int ThreadLocal, line 46, using - FUNCTION, name: Fn, qitem: Fn(), qtype: , qptype: , natural: void Fn(), line 48, using + VARIABLE, name: in_inline_namespace, qitem: in_inline_namespace, qtype: , qptype: , natural: int in_inline_namespace, line 49, using + FUNCTION, name: Fn, qitem: Fn(), qtype: , qptype: , natural: void Fn(), line 52, using } X { STRUCT, name: X, qitem: class, qtype: X, qptype: , natural: class X, line 19, using @@ -40,10 +41,10 @@ OverrideFinal { INSTANCEFUNCTION, name: Bar, qitem: Bar()override, qtype: , qptype: , natural: void Bar() override, line 40, using } { -x Test>,Point>, line: 51 -y Test>,Point>, line: 52 -x , line: 53 -y , line: 55 -ll , line: 56 -p pointer, line: 57 +x Test>,Point>, line: 55 +y Test>,Point>, line: 56 +x , line: 57 +y , line: 59 +ll , line: 60 +p pointer, line: 61 } \ No newline at end of file