Sign in
gnu
/
gcc
/
5e9c4ed903c39f82f28362d9411d4dbc491264ec
/
.
/
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
;
}