Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
error1.C
blob: a4fd4854eb20ffb16ac2035e3a45e72a5a59d777 [
file
] [
log
] [
blame
]
// { dg-do compile }
struct
S
{
void
f
()
{}
// { dg-message "previous" }
int
f
()
{
return
0
;
}
// { dg-error "overloaded" }
};