diff options
author | Steve Ellcey <sje@cup.hp.com> | 2006-07-07 15:15:00 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2006-07-07 15:15:00 +0000 |
commit | 11de7ef20ea8ef75edf512c53e810c62762231be (patch) | |
tree | 5d97811f50ec00aff72967b6254c1e1c8e095828 /gcc | |
parent | 83f676b352f6fc5981c6a477c92e735c04375ed6 (diff) | |
download | gcc-11de7ef20ea8ef75edf512c53e810c62762231be.zip gcc-11de7ef20ea8ef75edf512c53e810c62762231be.tar.gz gcc-11de7ef20ea8ef75edf512c53e810c62762231be.tar.bz2 |
re PR c++/27019 (ICE with designated initializers)
PR c++/27019
* g++.dg/ext/pr27019.C: New.
From-SVN: r115260
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/ext/pr27019.C | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eb1b5d0..63aa90d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-07-07 Steve Ellcey <sje@cup.hp.com> + + PR c++/27019 + * g++.dg/ext/pr27019.C: New. + 2006-07-07 Richard Guenther <rguenther@suse.de> PR tree-optimization/28187 diff --git a/gcc/testsuite/g++.dg/ext/pr27019.C b/gcc/testsuite/g++.dg/ext/pr27019.C new file mode 100644 index 0000000..d764418 --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/pr27019.C @@ -0,0 +1,11 @@ + +// { dg-do compile } +// { dg-options "" } + +struct A +{ + int i; + int z[1]; +}; + +A a = { z:{} }; // { dg-error "unimplemented" } |