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