Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
pr84138.C
blob: 00352306a56e93ca917c3f4298f5e157a6b7a234 [
file
] [
log
] [
blame
]
// PR c++/84138
char
foo
()
{
const
int
i
=
0
=
0
;
// { dg-error "lvalue required as left operand" }
return
1
?
0
:
(
char
)
i
;
}