summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/class1.C
blob: 96415fbc2254dfc1da8f9c6c6ae012b2a956bae1 (plain)
1
2
3
4
5
6
7
8
9
extern const int a;

template <const int&> class X {};

template <typename> struct Y {
    X<a> x;
};

template struct Y<int>;