Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/template/nontype28.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
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> {}; |