Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
expr
/
for1.C
blob: baffd424a41151e778f99bf9e88c80d9f15eeba8 [
file
] [
log
] [
blame
]
// PR c++/13663
struct
S
{
void
f
();
};
void
g
(
int
);
void
g
(
double
);
void
h
()
{
S s
;
for
(;;
s
.
f
);
// { dg-error "" }
for
(;;
g
);
// { dg-error "" }
}