Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr09.C
blob: 1422a35cffedef601fd99fdc8a2962dbd1efbc3a [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// Test compare to literal 0
void
fun
()
{
if
(
nullptr
==
0
);
decltype
(
nullptr
)
mynull
=
0
;
if
(
mynull
==
0
);
}