* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr05.C
blob65121b659d92dcb8a959fda44224c0c484cb1853
1 // { dg-do compile { target c++11 } }
3 // Test assignment to method pointer
5 class F { };
7 typedef void (F::*pmf)();
9 const pmf pmf1 = nullptr;
10 const pmf pmf2 = __null;
11 const pmf pmf3 = 0;
12 decltype(nullptr) mynull = 0;
13 const pmf pmf4 = mynull;