re PR c++/27019 (ICE with designated initializers)

PR c++/27019
	* g++.dg/ext/pr27019.C: New.

From-SVN: r115260
This commit is contained in:
Steve Ellcey 2006-07-07 15:15:00 +00:00 committed by Steve Ellcey
parent 83f676b352
commit 11de7ef20e
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,11 @@
// { dg-do compile }
// { dg-options "" }
struct A
{
int i;
int z[1];
};
A a = { z:{} }; // { dg-error "unimplemented" }