blob: 7cf9f1eae80871f94e99e0d2ee6389d5ad0f9d61 (
plain)
1
2
3
4
5
6
|
//PR c++/27668
template<typename class T, T = T()> // { dg-error "nested-name-specifier|two or more|valid type" }
struct A {};
template<int> void foo(A<int>); // { dg-error "mismatch|constant|template argument" }
|