From: Paolo Carlini Date: Wed, 25 Nov 2015 20:46:25 +0000 (+0000) Subject: constexpr-array13.C: Fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=faadf84ceb8eaaa82c6c7f10c64099630acbf069;p=gcc.git constexpr-array13.C: Fix. 2015-11-25 Paolo Carlini * g++.dg/cpp0x/constexpr-array13.C: Fix. From-SVN: r230903 --- 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" }