1 2 3 4 5 6 7 8
// Test to make sure we do not ICE on this invalid program. struct A { template<int> void foo(); void bar() { this.A::foo<0>(); } // { dg-error "" } };