blob: 9bcabc6009bb4f4ff489f8f5046f93240564344a (
plain)
1
2
3
4
5
|
// PR c++/50861
template<class T> struct A {A(int b=k(0));}; // { dg-error "parameter|argument" }
void f(int k){A<int> a;} // // { dg-message "declared" }
// { dg-message "note" "note" { target *-*-* } 3 }
|