aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <paolo@gcc.gnu.org>2014-12-15 10:47:53 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2014-12-15 10:47:53 +0000
commit2327deb73b1b91ed7025a266026d906fd8ccafb0 (patch)
tree0b8a3b4acacabd5253c5e0035284d3a4d23c6e5a
parent06ac83a9e0c4aee4b5ed14b5c47e465db485ea79 (diff)
downloadgcc-2327deb73b1b91ed7025a266026d906fd8ccafb0.zip
gcc-2327deb73b1b91ed7025a266026d906fd8ccafb0.tar.gz
gcc-2327deb73b1b91ed7025a266026d906fd8ccafb0.tar.bz2
pr63996.C: Fix.
2014-12-15 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/cpp1y/pr63996.C: Fix. From-SVN: r218742
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/g++.dg/cpp1y/pr63996.C2
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3008b9b..55c4a2a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/g++.dg/cpp1y/pr63996.C b/gcc/testsuite/g++.dg/cpp1y/pr63996.C
index c89d542..d0bf9b5 100644
--- a/gcc/testsuite/g++.dg/cpp1y/pr63996.C
+++ b/gcc/testsuite/g++.dg/cpp1y/pr63996.C
@@ -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" }