//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // // [simd.traits] // template struct ex::is_simd; // template inline constexpr bool ex::is_simd_v = // ex::is_simd::value; #include #include #include "test_macros.h" namespace ex = std::experimental::parallelism_v2; struct UserType {}; static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(ex::is_simd>::value, ""); static_assert(!ex::is_simd::value, ""); static_assert(!ex::is_simd::value, ""); static_assert(!ex::is_simd::value, ""); static_assert(!ex::is_simd>::value, ""); static_assert(!ex::is_simd>::value, ""); static_assert(!ex::is_simd::value, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(ex::is_simd_v>, ""); static_assert(!ex::is_simd_v, ""); static_assert(!ex::is_simd_v, ""); static_assert(!ex::is_simd_v, ""); static_assert(!ex::is_simd_v>, ""); static_assert(!ex::is_simd_v>, ""); static_assert(!ex::is_simd_v, ""); int main() {}