From: Paolo Carlini Date: Wed, 10 Dec 2014 19:05:43 +0000 (+0000) Subject: pr64127.C: Fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e10d54ac52cbd392b152ebf664fac7a3fb7775f;p=gcc.git pr64127.C: Fix. 2014-12-10 Paolo Carlini * g++.dg/cpp/pr64127.C: Fix. From-SVN: r218599 --- diff --git a/gcc/testsuite/g++.dg/cpp/pr64127.C b/gcc/testsuite/g++.dg/cpp/pr64127.C index 07aa0284f27..29c3bf2662a 100644 --- a/gcc/testsuite/g++.dg/cpp/pr64127.C +++ b/gcc/testsuite/g++.dg/cpp/pr64127.C @@ -1,9 +1,4 @@ /* { dg-do compile { target c++98_only } } */ -template <0> int __copy_streambufs_eof; // { dg-error "" } -// { dg-error "numeric constant" "" { target *-*-* } 3 } -// { dg-warning "variable templates" "" { target *-*-* } 3 } -__copy_streambufs_eof < // { dg-error "" } -// { dg-error "parse error" "" { target *-*-* } 6 } -// { dg-error "not name a type" "" { target *-*-* } 6 } - +template <0> int __copy_streambufs_eof; // { dg-error "expected identifier|numeric constant|variable templates" } +__copy_streambufs_eof < // { dg-error "template argument|parse error|not name a type" }