Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr28432.C
blob: 8e2428594d90614a5646871d6c776a250c0363bc [
file
] [
log
] [
blame
]
// Test to make sure we do not ICE on this invalid program.
// { dg-options "" }
struct
A
{};
// { dg-message "defined here" }
void
A
::
foo
();
// { dg-error "no declaration matches" }
// { dg-message "no functions named" "note" { target *-*-* } .-1 }