1 // PR c++/18512 2 3 template <int> struct A {}; 4 5 struct B : A<0> 6 { fooB7 void foo() { this->A<0>; } // { dg-error "" } 8 }; 9