Commit 2327deb7 by Paolo Carlini

pr63996.C: Fix.

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

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

From-SVN: r218742
parent 06ac83a9
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.
......
......@@ -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" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment