constexpr-array13.C: Fix.
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 25 Nov 2015 20:46:25 +0000 (20:46 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 25 Nov 2015 20:46:25 +0000 (20:46 +0000)
2015-11-25  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/constexpr-array13.C: Fix.

From-SVN: r230903

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C

index 90c0aae9feec879ca497edbbb9770524cee024ac..c55322a1fd06304f3b50e6554d24de22d32664ae 100644 (file)
@@ -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.
index 13ab5a724b56a6cdde9b69aebdc8adee48d7c115..e2a6e865e37b35a85b703ed624df112e9a32e8da 100644 (file)
@@ -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" }