view gcc/testsuite/g++.dg/template/ref4.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// 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;
};