blob: fa29e95d5d28bb208c51300e4c86628999419dc2 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template <Preconditioner> class A { // { dg-error "declared" }
template <class = int> void m_fn1() {
m_fn1();
}
};
template<typename>
struct B
{
int f(int = 0) { return 0; }
};
int main()
{
B<int> b;
return b.f();
}