Debian Codegraph @

gcc/testsuite/g++.dg/other/pr27495.C

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