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