aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-05 05:22:15 +0000
committerChris Lattner <sabre@nondot.org>2003-11-05 05:22:15 +0000
commitf2f05a07ff39ef66bb17c033a5b729979f801098 (patch)
tree7ad8de0770ca95ca2c99971622ac11e8761c5d72 /test/C++Frontend
parente860e0d69c9c155704cd3c4b2533410a8c782d9e (diff)
downloadexternal_llvm-f2f05a07ff39ef66bb17c033a5b729979f801098.zip
external_llvm-f2f05a07ff39ef66bb17c033a5b729979f801098.tar.gz
external_llvm-f2f05a07ff39ef66bb17c033a5b729979f801098.tar.bz2
NEw testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r--test/C++Frontend/2003-11-04-ArrayConstructors.cpp9
1 files changed, 9 insertions, 0 deletions
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 0000000..2490811
--- /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 };
+}