* g++.dg/cpp0x/initlist86.C (main): Initialize i.
From-SVN: r211257
This commit is contained in:
parent
63e70d3cfb
commit
55097f6500
@ -1,3 +1,7 @@
|
||||
2014-06-05 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* g++.dg/cpp0x/initlist86.C (main): Initialize i.
|
||||
|
||||
2014-06-05 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c/49706
|
||||
|
@ -11,7 +11,7 @@ extern "C" int printf (const char *, ...);
|
||||
|
||||
int main()
|
||||
{
|
||||
int i;
|
||||
int i = 0;
|
||||
A a{i++,i++};
|
||||
if (a.i != 0 || a.j != 1)
|
||||
__builtin_abort();
|
||||
|
Loading…
Reference in New Issue
Block a user