aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/ref4.C
blob: 6d89fa80a8413ac0a586ab0afa97b663a4bba642 (plain)
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;
};