From: Marek Polacek Date: Thu, 7 Jun 2018 14:18:27 +0000 (+0000) Subject: * g++.dg/cpp0x/range-for9.C: Adjust dg-error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6cbe43f2f580d9aa992606e2588db06d023761e;p=gcc.git * g++.dg/cpp0x/range-for9.C: Adjust dg-error. From-SVN: r261278 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 440c8ce3e3d..691d233e3b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-06-07 Marek Polacek + + * g++.dg/cpp0x/range-for9.C: Adjust dg-error. + 2018-06-07 Olga Makhotina * gcc.target/i386/funcspec-56.inc: Test arch=tremont. diff --git a/gcc/testsuite/g++.dg/cpp0x/range-for9.C b/gcc/testsuite/g++.dg/cpp0x/range-for9.C index 6a50ec36c14..eaa5b406880 100644 --- a/gcc/testsuite/g++.dg/cpp0x/range-for9.C +++ b/gcc/testsuite/g++.dg/cpp0x/range-for9.C @@ -5,6 +5,6 @@ void test() { int a[] = {0,1,2}; - for (int x : a) // { dg-error "range-based 'for'" } + for (int x : a) // { dg-error "range-based 'for'|forming reference" } ; }