* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr08.C
blobdbf16323343efdaf7b9de01e8fc1f406612dc430
1 // { dg-do compile { target c++11 } }
3 // Test conversion to bool
5 #define assert_true(b) do { char c[2 * bool(b) - 1]; } while(0)
7 void fun()
9   assert_true(nullptr ? false : true);
10   decltype(nullptr) mynull = 0;
11   assert_true(mynull ? false : true);