From f2f05a07ff39ef66bb17c033a5b729979f801098 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Nov 2003 05:22:15 +0000 Subject: [PATCH] NEw testcase 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 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/C++Frontend/2003-11-04-ArrayConstructors.cpp diff --git a/test/C++Frontend/2003-11-04-ArrayConstructors.cpp b/test/C++Frontend/2003-11-04-ArrayConstructors.cpp new file mode 100644 index 00000000000..24908110579 --- /dev/null +++ b/test/C++Frontend/2003-11-04-ArrayConstructors.cpp @@ -0,0 +1,9 @@ + +struct Foo { + Foo(int); +}; +void foo() { + struct { + Foo name; + } Int[] = { 1 }; +}