openmp_default_simd_align.cpp | 5 static const int test0 = __builtin_omp_required_simd_align(x); // expected-error {{invalid application of '__builtin_omp_required_simd_align' to an expression, only type is allowed}} 6 static const int test1 = __builtin_omp_required_simd_align(decltype(S0::x)); 7 auto test2() -> char(&)[__builtin_omp_required_simd_align(decltype(x))]; 12 const int test3 = __builtin_omp_required_simd_align(decltype(s1)); // expected-error {{invalid application of '__builtin_omp_required_simd_align' to an incomplete type 'decltype(s1)' (aka 'S1')}} 19 int test4 = __builtin_omp_required_simd_align(decltype(x)); // ok 20 int test5 = __builtin_omp_required_simd_align(decltype(s)); // expected-error {{invalid application of '__builtin_omp_required_simd_align' to an incomplete type 'S1'}} 23 const int test6 = __builtin_omp_required_simd_align(decltype(S2::x)) 64 static_assert(__builtin_omp_required_simd_align(int[2]) == __builtin_omp_required_simd_align(int), ""); \/\/ ok variable 74 static_assert(__builtin_omp_required_simd_align(decltype(S<1>::a)) == __builtin_omp_required_simd_align(int), ""); member in namespace:__builtin_omp_required_simd_align_array_expr 75 static_assert(__builtin_omp_required_simd_align(decltype(S<1128>::a)) == __builtin_omp_required_simd_align(int), ""); member in namespace:__builtin_omp_required_simd_align_array_expr [all...] |