diff options
author | Marek Polacek <polacek@redhat.com> | 2019-02-17 16:55:37 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-02-17 16:55:37 +0000 |
commit | feb0dcfede4a8c855e85b1b8a9ff3232a4c74229 (patch) | |
tree | 5460f35b0bc7fd5a7eb22dd9ea1217e238d50388 | |
parent | 1f6857ba5608f715621cfe8d3c3be31b3040e9e6 (diff) | |
download | gcc-feb0dcfede4a8c855e85b1b8a9ff3232a4c74229.tar.gz |
* g++.old-deja/g++.robertl/eb82.C: Tweak dg-error.
From-SVN: r268970
-rw-r--r-- | gcc/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb82.C | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 38959b3248d..9ee97dc38f7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb82.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb82.C index 9bf0398cd0a..fc2bf7866fe 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb82.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb82.C @@ -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 } |