Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/template/nontype28.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 // PR c++/77656 |
2 // { dg-do compile { target stdint_types } } | |
3 | |
4 #include <stdint.h> | |
5 | |
6 template<uint64_t _Val, | |
7 int _Val2 = (_Val >> 32)> | |
8 class Test {}; | |
9 | |
10 template<uint32_t _X> | |
11 class Test2 : Test<_X> {}; | |
12 | |
13 template<uint32_t _X> | |
14 class Test3 : Test<(uint64_t) _X> {}; |