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