* g++.dg/cpp0x/initlist86.C (main): Initialize i.

From-SVN: r211257
This commit is contained in:
Andreas Schwab 2014-06-05 08:09:39 +00:00 committed by Andreas Schwab
parent 63e70d3cfb
commit 55097f6500
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -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();