aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/2003-11-04-ArrayConstructors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/C++Frontend/2003-11-04-ArrayConstructors.cpp')
-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 0000000000..2490811057
--- /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 };
+}