view gcc/testsuite/g++.dg/template/nontype28.C @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

// PR c++/77656
// { dg-do compile { target stdint_types } }

#include <stdint.h>

template<uint64_t _Val,
	 int _Val2 = (_Val >> 32)>
class Test {};

template<uint32_t _X>
class Test2 : Test<_X> {};

template<uint32_t _X>
class Test3 : Test<(uint64_t) _X> {};