summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/shift1.C
blob: a4ceec92c3afa09c26bfbf4cc1b2c35aa8c9f2d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/18140
// { dg-options "-std=gnu++98" }

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