aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 90c0aae..c55322a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-25 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * g++.dg/cpp0x/constexpr-array13.C: Fix.
+
2015-11-25 David Edelsohn <dje.gcc@gmail.com>
* gfortran.dg/nint_p7.f90: New testcase.
diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C
index 13ab5a7..e2a6e86 100644
--- a/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C
+++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C
@@ -3,4 +3,4 @@
constexpr char c[] = "hello";
constexpr const char *p = c;
-constexpr char ch = *(p-1); // { dg-error "negative array subscript" }
+constexpr char ch = *(p-1); // { dg-error "array subscript" }