☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr09.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/nullptr09.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
3
// Test compare to literal 0
4
5
void fun()
6
{
7
if( nullptr == 0 );
8
decltype(nullptr) mynull = 0;
9
if( mynull == 0 );
10
}