pr63996.C: Fix.

2014-12-15  Paolo Carlini  <paolo.carlini@oracle.com>

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

From-SVN: r218742
This commit is contained in:
Paolo Carlini 2014-12-15 10:47:53 +00:00
parent 06ac83a9e0
commit 2327deb73b
2 changed files with 7 additions and 3 deletions

View 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.

View 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" }