OSDN Git Service

* gcc.dg/tm/memopt-6.c: Cleanup tmedge tree dump.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash55.C
1 //PR c++/27668
2
3 template<typename class T, T = T()> // { dg-error "nested-name-specifier|two or more|valid type" }
4 struct A {};
5
6 template<int> void foo(A<int>);     // { dg-error "mismatch|constant|template argument" }