Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/template/nontype28.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +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> {}; |