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