Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6812.15.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr28114.C
blob: 63ecbf51f4f99321679b63c54d1d43ca6c6aa581 [
file
] [
log
] [
blame
]
// 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 }
}