diff options
author | Sofiane Naci <sofiane.naci@arm.com> | 2012-10-22 12:28:14 +0000 |
---|---|---|
committer | Sofiane Naci <sofiane.naci@arm.com> | 2012-10-22 12:28:14 +0000 |
commit | 369b71ecad513571a31ed3989a33629404847832 (patch) | |
tree | 77fa03ebcefe174abeaef371e7fb332b2d928284 /gcc/testsuite/g++.dg/init/array31.C | |
parent | 2b86be5b85981f0186dc90c8726e5a86abd99b4b (diff) | |
parent | fe41acb87a4145f35518841c7d83cb8f88dc5d9e (diff) |
Merge from trunk 192445:192598.ARM/aarch64-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ARM/aarch64-branch@192688 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/init/array31.C')
-rw-r--r-- | gcc/testsuite/g++.dg/init/array31.C | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/init/array31.C b/gcc/testsuite/g++.dg/init/array31.C new file mode 100644 index 00000000000..9bb66a5950f --- /dev/null +++ b/gcc/testsuite/g++.dg/init/array31.C @@ -0,0 +1,10 @@ +// PR c++/54501 +// { dg-options "" } + +struct A +{ + int i[0]; + int j; +}; + +struct A a = { 1 }; |