Commit 512380a1 by Steve Ellcey Committed by Steve Ellcey

re PR c++/28291 (ICE on invalid designated initializer)

	PR c++/28291
	* g++.dg/ext/pr28291.C: New test.

From-SVN: r115526
parent 2763a67e
2006-07-17 Steve Ellcey <sje@cup.hp.com>
PR c++/28291
* g++.dg/ext/pr28291.C: New test.
2006-07-17 Richard Sandiford <richard@codesourcery.com>
PR middle-end/28403
// Test to make sure we do not ICE on this invalid program.
// { dg-do compile }
// { dg-options "" }
struct A
{
static int i;
int j;
};
A a = { i:0 }; // { dg-error "non-static data member" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment