]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2015-11-25 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2015 20:46:25 +0000 (20:46 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2015 20:46:25 +0000 (20:46 +0000)
* g++.dg/cpp0x/constexpr-array13.C: Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230903 138bc75d-0d04-0410-961f-82ee72b054a4

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