NEw testcase
authorChris Lattner <sabre@nondot.org>
Wed, 5 Nov 2003 05:22:15 +0000 (05:22 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 5 Nov 2003 05:22:15 +0000 (05:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9720 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2003-11-04-ArrayConstructors.cpp [new file with mode: 0644]

diff --git a/test/C++Frontend/2003-11-04-ArrayConstructors.cpp b/test/C++Frontend/2003-11-04-ArrayConstructors.cpp
new file mode 100644 (file)
index 0000000..2490811
--- /dev/null
@@ -0,0 +1,9 @@
+
+struct Foo { 
+  Foo(int); 
+};
+void foo() {
+  struct {
+    Foo name;
+  } Int[] =  { 1 };
+}