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