pr63996.C: Fix.
authorPaolo Carlini <paolo@gcc.gnu.org>
Mon, 15 Dec 2014 10:47:53 +0000 (10:47 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 15 Dec 2014 10:47:53 +0000 (10:47 +0000)
2014-12-15  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp1y/pr63996.C: Fix.

From-SVN: r218742

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/pr63996.C

index 3008b9b640e8f26c090cb4783e95dad08fbae816..55c4a2a88d3920880fe3d7e519277af91637b64b 100644 (file)
@@ -1,3 +1,7 @@
+2014-12-15  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * g++.dg/cpp1y/pr63996.C: Fix.
+
 2014-12-15  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/63551
@@ -23,8 +27,8 @@
        PR ipa/61602
        * gcc.dg/torture/pr61602.c: New testcase.
 
-2014-12-14  Jan Hubicka  <hubicka@ucw.cz>      
-       
+2014-12-14  Jan Hubicka  <hubicka@ucw.cz>
+
        PR ipa/61558
        * g++.dg/torture/pr61558.C: New testcase.
 
index c89d5429590999f54be7b05490dd6424b2bd41d2..d0bf9b5133289751639e7117e592d85492e265b8 100644 (file)
@@ -3,7 +3,7 @@
 constexpr int
 foo (int i)
 {
-  int a[i] = { };
+  int a[i] = { }; // { dg-error "forbids variable length" }
 }
 
 constexpr int j = foo (1); // { dg-error "is not a constant expression" }