Sign in
gnu
/
gcc
/
251a817e23053b543f04f101c675f5513bbb1865
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
null2.C
blob: d7d2c8f2f33c4358a3e4e22348577e06cc035808 [
file
] [
log
] [
blame
]
// Based on a testcase by Eric Dumazet <Eric.Dumazet@COSMOSBAY.COM>
extern
"C"
void
abort
();
const
char
*
const
foo
=
""
;
// foo is not NULL
int
main
()
{
if
((
foo
==
0
)
?
0
:
foo
)
// so this should evaluate to `foo'
return
0
;
else
abort
();
}