1 2 3 4 5 6 7 8 9 10 11 12
// PR c++/41972 struct X { static const double x; }; template <const double& _test_> class Foo { }; template <typename _ignore_> struct Y { typedef Foo<X::x> type; };