Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / other / pr28114.C
blob63ecbf51f4f99321679b63c54d1d43ca6c6aa581
2 // Test to make sure we do not ICE on this invalid program.
4 template<int> void foo(struct {}*); // { dg-message "" }
6 void bar()
8   foo<0>(0);                    // { dg-error "" }
9   // { dg-message "candidate" "candidate note" { target *-*-* } 8 }