* g++.old-deja/g++.robertl/eb82.C: Tweak dg-error.

From-SVN: r268970
This commit is contained in:
Marek Polacek 2019-02-17 16:55:37 +00:00 committed by Marek Polacek
parent 1f6857ba56
commit feb0dcfede
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
PR c++/89217 - ICE with list-initialization in range-based for loop.
* g++.dg/cpp0x/range-for37.C: New test.
* g++.old-deja/g++.robertl/eb82.C: Tweak dg-error.
2019-02-16 David Malcolm <dmalcolm@redhat.com>
PR c++/88680

View File

@ -9,5 +9,5 @@ double val <int> () // { dg-error "" } bogus code
int main ()
{
printf ("%d\n", val<(int)3> ()); // { dg-error "" } val undeclared
printf ("%d\n", val<(int)3> ()); // { dg-error "" "" { target c++17_down } } val undeclared
}