]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2014-12-10 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Dec 2014 19:05:43 +0000 (19:05 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Dec 2014 19:05:43 +0000 (19:05 +0000)
* g++.dg/cpp/pr64127.C: Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218599 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/cpp/pr64127.C

index 07aa0284f27155b000146ab9e3a67a879cf413a1..29c3bf2662a42cbed72c55345a903dc7c41457b4 100644 (file)
@@ -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" }