blob: dff934e98b18a83befa00a0a952803d8ffef7284 [file] [log] [blame]
// PR c++/84820
struct A {};
template<int> struct B : A
{
B()
{
A(&A::foo); // { dg-error "foo" }
}
};
B<0> b;