2 // { dg-options "-std=c++0x" }
4 // Test compare to pointer
6 #define assert_true(b) do { char c[2 * bool(b) - 1]; } while(0)
8 char* const cp1 = nullptr;
12 assert_true(cp1 == nullptr);
13 decltype(nullptr) mynull = 0;
14 assert_true(cp1 == mynull);