Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
ref2.C
blob: ded35e0d3af17691431b5e93b8493a06ba47a4a3 [
file
] [
log
] [
blame
]
// PR c++/21631
int
f
(
int
&);
int
f
();
int
g
(
void
)
{
return
f
(
1
);
// { dg-error "rvalue" }
}