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