2 // { dg-do compile { target c++11 } }
4 namespace std { typedef decltype(nullptr) nullptr_t; }
6 template<class R, class CB> struct Bar
8 template<class R> struct Bar<R, std::nullptr_t>
10 template<std::nullptr_t> struct Bind { constexpr static int const cb = 0; };
14 return Bar<int, decltype(nullptr)>::Bind<nullptr>::cb;