aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/shift1.C
blob: 22cb0de95bed255f01b58f877f00cb7e8f288b38 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/18140

template <int N> struct IntHolder {
  static const int value = N;
};

template <int N, int S> struct ShrIntHolder {
  static const int value = IntHolder< N>>S >::value;
};