blob: 4f66c1c118880e5c9ffec6511951e0f585e75b55 [file] [log] [blame]
// PR c++/17232 (DR 337)
template<typename T>
class A {
virtual void f() = 0;
};
template<typename T>
void g(T (*a)[1]) {} // { dg-error "abstract" "" { xfail *-*-* } }
int main() {
g<A<int> >(0); // { dg-error "no matching function" "" { xfail *-*-* } }
}