* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr06.C
blob396ac3a1fd725ff4fc42977cd1495f82afe52c01
1 // { dg-do compile { target c++11 } }
3 // Test compare to pointer
5 #define assert_true(b) do { char c[2 * bool(b) - 1]; } while(0)
7 constexpr char* cp1 = nullptr;
9 void fun()
11   assert_true(cp1 == nullptr);
12   decltype(nullptr) mynull = 0;
13   assert_true(cp1 == mynull);