Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / g++.dg / cpp0x / nullptr09.C
blob1422a35cffedef601fd99fdc8a2962dbd1efbc3a
1 // { dg-do compile { target c++11 } }
3 // Test compare to literal 0
5 void fun()
7   if( nullptr == 0 );
8   decltype(nullptr) mynull = 0;
9   if( mynull == 0 );