Commit d6cbe43f by Marek Polacek Committed by Marek Polacek

* g++.dg/cpp0x/range-for9.C: Adjust dg-error.

From-SVN: r261278
parent fb997097
2018-06-07 Marek Polacek <polacek@redhat.com>
* g++.dg/cpp0x/range-for9.C: Adjust dg-error.
2018-06-07 Olga Makhotina <olga.makhotina@intel.com> 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
* gcc.target/i386/funcspec-56.inc: Test arch=tremont. * gcc.target/i386/funcspec-56.inc: Test arch=tremont.
......
...@@ -5,6 +5,6 @@ ...@@ -5,6 +5,6 @@
void test() void test()
{ {
int a[] = {0,1,2}; 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" }
; ;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment