Debian Codegraph @

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

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