* g++.old-deja/g++.robertl/eb82.C: Tweak dg-error.
authorMarek Polacek <polacek@redhat.com>
Sun, 17 Feb 2019 16:55:37 +0000 (16:55 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Sun, 17 Feb 2019 16:55:37 +0000 (16:55 +0000)
From-SVN: r268970

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.robertl/eb82.C

index 38959b3248d1a954261f785b3ad277bac7c34e88..9ee97dc38f70dec255682c3e7e3afd4d70541d4a 100644 (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
index 9bf0398cd0a2b92c9bcca6cb4708d3f1a170fbd8..fc2bf7866fe60c9f7a2559e8eae3dafd61892629 100644 (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
 }