From faadf84ceb8eaaa82c6c7f10c64099630acbf069 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Wed, 25 Nov 2015 20:46:25 +0000 Subject: [PATCH] constexpr-array13.C: Fix. 2015-11-25 Paolo Carlini * g++.dg/cpp0x/constexpr-array13.C: Fix. From-SVN: r230903 --- 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 90c0aae9fee..c55322a1fd0 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 13ab5a724b5..e2a6e865e37 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.30.2