OSDN Git Service

PR c++/28736
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash55.C
index 7e15b66..0e3fe4c 100644 (file)
@@ -3,4 +3,4 @@
 template<typename class T, T = T()> // { dg-error "nested-name-specifier|two or more|valid type" }
 struct A {};                        // { dg-error "definition"
 
-template<int> void foo(A<int>);     // { dg-error "mismatch|constant" }
+template<int> void foo(A<int>);     // { dg-error "mismatch|constant|template argument" }