// PR c++/69009 // { dg-do compile { target c++14 } } using _uchar = char; using _size_t = decltype(sizeof(_uchar)); using size_t = _size_t; template struct integral_constant; template using bool_constant = integral_constant; template constexpr auto tuple_size_v = 0; template auto const tuple_size_v = tuple_size_v; template using tuple_size = integral_constant>; template using is_base_of = bool_constant<__is_base_of(Base, Deriv)>; template void test() { is_base_of, tuple_size> value( is_base_of, tuple_size>); } void foo() { test; }