blob: fc65a54bf78f53115507878eab03e14b9259c173 [file] [log] [blame]
// PR c++/79056
template<class> struct A {};
template<class T> void foo(A<T>=A<T>()) {} // { dg-error "'>=' should be '> =' to terminate a template argument list" }
// { dg-error "expected" "" { target *-*-* } .-1 }
void bar()
{
foo(A<int>()); // { dg-error "" }
}