12 lines
176 B
C
12 lines
176 B
C
// 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;
|
|
};
|
|
|