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