diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-05 05:22:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-05 05:22:15 +0000 |
commit | f2f05a07ff39ef66bb17c033a5b729979f801098 (patch) | |
tree | 7ad8de0770ca95ca2c99971622ac11e8761c5d72 /test/C++Frontend/2003-11-04-ArrayConstructors.cpp | |
parent | e860e0d69c9c155704cd3c4b2533410a8c782d9e (diff) |
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/2003-11-04-ArrayConstructors.cpp')
-rw-r--r-- | test/C++Frontend/2003-11-04-ArrayConstructors.cpp | 9 |
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 }; +} |