* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr39.C
bloba34a6af73e9743af51703a404d66614fa310cd82
1 // PR c++/81671
2 // { dg-do compile { target c++11 } }
4 namespace std { typedef decltype(nullptr) nullptr_t; }
6 template<class R, class CB> struct Bar
7 {};
8 template<class R> struct Bar<R, std::nullptr_t>
10     template<std::nullptr_t> struct Bind { constexpr static int const cb = 0; };
12 int foo()
14   return Bar<int, decltype(nullptr)>::Bind<nullptr>::cb;