* g++.dg/cpp0x/initlist86.C (main): Initialize i.
authorAndreas Schwab <schwab@suse.de>
Thu, 5 Jun 2014 08:09:39 +0000 (08:09 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Thu, 5 Jun 2014 08:09:39 +0000 (08:09 +0000)
From-SVN: r211257

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist86.C

index 978a8e733deceabd4dae3c25c4ced788f2ad49d9..75e6db2205e7a6a691befb6a462dfa2c276ce10b 100644 (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
index 16af47636ad187250c71623edf8d9965b5acd264..ace2ef928710fb38a8e1bf1ef3b1988bb97fea83 100644 (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();