From e82fa7d80739d4c50899240a73f63bf5be60ae38 Mon Sep 17 00:00:00 2001 From: paolo Date: Wed, 25 Nov 2015 20:46:25 +0000 Subject: [PATCH] 2015-11-25 Paolo Carlini * 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 | 4 ++++ gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 90c0aae9feec..c55322a1fd06 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-11-25 Paolo Carlini + + * g++.dg/cpp0x/constexpr-array13.C: Fix. + 2015-11-25 David Edelsohn * 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 13ab5a724b56..e2a6e865e37b 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" } -- 2.47.2