From dd408e12d6bf6e9bf8cfed60030d7720530ce6cc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 17 Sep 2003 05:00:56 +0000 Subject: [PATCH] new old testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8574 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2003-08-27-TypeNamespaces.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/C++Frontend/2003-08-27-TypeNamespaces.cpp diff --git a/test/C++Frontend/2003-08-27-TypeNamespaces.cpp b/test/C++Frontend/2003-08-27-TypeNamespaces.cpp new file mode 100644 index 00000000000..01da73876f4 --- /dev/null +++ b/test/C++Frontend/2003-08-27-TypeNamespaces.cpp @@ -0,0 +1,14 @@ + +namespace foo { + namespace bar { + struct X { X(); }; + + X::X() {} + } +} + + +namespace { + struct Y { Y(); }; + Y::Y() {} +}