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