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