// PR c++/81671 // { dg-do compile { target c++11 } } namespace std { typedef decltype(nullptr) nullptr_t; } template struct Bar {}; template struct Bar { template struct Bind { constexpr static int const cb = 0; }; }; int foo() { return Bar::Bind::cb; }