Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/template/shift1.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 // PR c++/18140 | |
2 // { dg-options "-std=gnu++98" } | |
3 | |
4 template <int N> struct IntHolder { | |
5 static const int value = N; | |
6 }; | |
7 | |
8 template <int N, int S> struct ShrIntHolder { | |
9 static const int value = IntHolder< N>>S >::value; | |
10 }; | |
11 |