summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/enum1.C
blob: eaeb12c9c4dbc505e970c4c630db7d3faebda59f (plain)
1
2
3
4
5
// PR c++/15554

template <int n> struct T1 { enum { N = 3 }; };
template <int n> struct T2 { enum { N = 3, N1 = T1<N>::N }; };