blob: 23ebfbe74f813350f0e9cf3b62658a30cfcfe8cc [file] [log] [blame]
// { dg-do compile { target c++14 } }
template<typename T>
constexpr bool Class = __is_class(T);
template<typename T>
constexpr bool Test = Class<T>;
struct S { };
static_assert(!Test<int>, "");
static_assert(Test<S>, "");