new old testcase
authorChris Lattner <sabre@nondot.org>
Wed, 17 Sep 2003 05:00:56 +0000 (05:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 17 Sep 2003 05:00:56 +0000 (05:00 +0000)
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 [new file with mode: 0644]

diff --git a/test/C++Frontend/2003-08-27-TypeNamespaces.cpp b/test/C++Frontend/2003-08-27-TypeNamespaces.cpp
new file mode 100644 (file)
index 0000000..01da738
--- /dev/null
@@ -0,0 +1,14 @@
+
+namespace foo {
+  namespace bar {
+    struct X { X(); };
+
+    X::X() {}
+  }
+}
+
+
+namespace {
+  struct Y { Y(); };
+  Y::Y() {}
+}