/external/llvm-project/libcxx/test/std/depr/depr.c.headers/ |
D | math_h.pass.cpp | 115 static_assert((std::is_same<decltype(abs((float)0)), float>::value), ""); in test_abs() 116 static_assert((std::is_same<decltype(abs((double)0)), double>::value), ""); in test_abs() 118 (std::is_same<decltype(abs((long double)0)), long double>::value), ""); in test_abs() 119 static_assert((std::is_same<decltype(abs((int)0)), int>::value), ""); in test_abs() 120 static_assert((std::is_same<decltype(abs((long)0)), long>::value), ""); in test_abs() 121 static_assert((std::is_same<decltype(abs((long long)0)), long long>::value), in test_abs() 123 static_assert((std::is_same<decltype(abs((unsigned char)0)), int>::value), in test_abs() 125 static_assert((std::is_same<decltype(abs((unsigned short)0)), int>::value), in test_abs() 128 static_assert((std::is_same<decltype(abs(Ambiguous())), Ambiguous>::value), in test_abs() 144 static_assert((std::is_same<decltype(acos((float)0)), float>::value), ""); in test_acos() [all …]
|
D | wchar_h.pass.cpp | 56 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), ""); in main() 57 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), ""); in main() 58 static_assert((std::is_same<decltype(swprintf(ws, s, L"")), int>::value), ""); in main() 59 static_assert((std::is_same<decltype(swscanf(L"", L"")), int>::value), ""); in main() 60 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), ""); in main() 61 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), ""); in main() 62 static_assert((std::is_same<decltype(vswprintf(ws, s, L"", va)), int>::value), ""); in main() 63 static_assert((std::is_same<decltype(vswscanf(L"", L"", va)), int>::value), ""); in main() 64 static_assert((std::is_same<decltype(fgetwc(fp)), wint_t>::value), ""); in main() 65 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main() [all …]
|
D | stdlib_h.pass.cpp | 80 static_assert((std::is_same<decltype(abs((float)0)), float>::value), ""); in test_abs() 81 static_assert((std::is_same<decltype(abs((double)0)), double>::value), ""); in test_abs() 83 (std::is_same<decltype(abs((long double)0)), long double>::value), ""); in test_abs() 84 static_assert((std::is_same<decltype(abs((int)0)), int>::value), ""); in test_abs() 85 static_assert((std::is_same<decltype(abs((long)0)), long>::value), ""); in test_abs() 86 static_assert((std::is_same<decltype(abs((long long)0)), long long>::value), in test_abs() 88 static_assert((std::is_same<decltype(abs((unsigned char)0)), int>::value), in test_abs() 90 static_assert((std::is_same<decltype(abs((unsigned short)0)), int>::value), in test_abs() 92 static_assert((std::is_same<decltype(abs((signed char)0)), int>::value), in test_abs() 94 static_assert((std::is_same<decltype(abs((short)0)), int>::value), in test_abs() [all …]
|
D | stdio_h.pass.cpp | 120 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main() 121 static_assert((std::is_same<decltype(rename("","")), int>::value), ""); in main() 122 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main() 123 static_assert((std::is_same<decltype(tmpnam(cp)), char*>::value), ""); in main() 124 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main() 125 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main() 126 static_assert((std::is_same<decltype(fopen("", "")), FILE*>::value), ""); in main() 127 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); in main() 128 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); in main() 129 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); in main() [all …]
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | math_h.pass.cpp | 103 static_assert((std::is_same<decltype(abs((float)0)), float>::value), ""); in test_abs() 104 static_assert((std::is_same<decltype(abs((double)0)), double>::value), ""); in test_abs() 105 static_assert((std::is_same<decltype(abs((long double)0)), long double>::value), ""); in test_abs() 106 static_assert((std::is_same<decltype(abs(Ambiguous())), Ambiguous>::value), ""); in test_abs() 112 static_assert((std::is_same<decltype(acos((float)0)), float>::value), ""); in test_acos() 113 static_assert((std::is_same<decltype(acos((bool)0)), double>::value), ""); in test_acos() 114 static_assert((std::is_same<decltype(acos((unsigned short)0)), double>::value), ""); in test_acos() 115 static_assert((std::is_same<decltype(acos((int)0)), double>::value), ""); in test_acos() 116 static_assert((std::is_same<decltype(acos((unsigned int)0)), double>::value), ""); in test_acos() 117 static_assert((std::is_same<decltype(acos((long)0)), double>::value), ""); in test_acos() [all …]
|
D | wchar_h.pass.cpp | 54 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), ""); in main() 55 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), ""); in main() 56 static_assert((std::is_same<decltype(swprintf(ws, s, L"")), int>::value), ""); in main() 57 static_assert((std::is_same<decltype(swscanf(L"", L"")), int>::value), ""); in main() 58 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), ""); in main() 59 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), ""); in main() 60 static_assert((std::is_same<decltype(vswprintf(ws, s, L"", va)), int>::value), ""); in main() 61 static_assert((std::is_same<decltype(vswscanf(L"", L"", va)), int>::value), ""); in main() 62 static_assert((std::is_same<decltype(fgetwc(fp)), wint_t>::value), ""); in main() 63 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main() [all …]
|
D | stdio_h.pass.cpp | 121 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main() 122 static_assert((std::is_same<decltype(rename("","")), int>::value), ""); in main() 123 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main() 124 static_assert((std::is_same<decltype(tmpnam(cp)), char*>::value), ""); in main() 125 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main() 126 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main() 127 static_assert((std::is_same<decltype(fopen("", "")), FILE*>::value), ""); in main() 128 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); in main() 129 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); in main() 130 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); in main() [all …]
|
D | stdlib_h.pass.cpp | 74 static_assert((std::is_same<decltype(atof("")), double>::value), ""); in main() 75 static_assert((std::is_same<decltype(atoi("")), int>::value), ""); in main() 76 static_assert((std::is_same<decltype(atol("")), long>::value), ""); in main() 77 static_assert((std::is_same<decltype(atoll("")), long long>::value), ""); in main() 78 static_assert((std::is_same<decltype(getenv("")), char*>::value), ""); in main() 79 static_assert((std::is_same<decltype(strtod("", endptr)), double>::value), ""); in main() 80 static_assert((std::is_same<decltype(strtof("", endptr)), float>::value), ""); in main() 81 static_assert((std::is_same<decltype(strtold("", endptr)), long double>::value), ""); in main() 82 static_assert((std::is_same<decltype(strtol("", endptr,0)), long>::value), ""); in main() 83 static_assert((std::is_same<decltype(strtoll("", endptr,0)), long long>::value), ""); in main() [all …]
|
D | string_h.pass.cpp | 26 static_assert((std::is_same<decltype(memcpy(vp, vpc, s)), void*>::value), ""); in main() 27 static_assert((std::is_same<decltype(memmove(vp, vpc, s)), void*>::value), ""); in main() 28 static_assert((std::is_same<decltype(strcpy(cp, cpc)), char*>::value), ""); in main() 29 static_assert((std::is_same<decltype(strncpy(cp, cpc, s)), char*>::value), ""); in main() 30 static_assert((std::is_same<decltype(strcat(cp, cpc)), char*>::value), ""); in main() 31 static_assert((std::is_same<decltype(strncat(cp, cpc, s)), char*>::value), ""); in main() 32 static_assert((std::is_same<decltype(memcmp(vpc, vpc, s)), int>::value), ""); in main() 33 static_assert((std::is_same<decltype(strcmp(cpc, cpc)), int>::value), ""); in main() 34 static_assert((std::is_same<decltype(strncmp(cpc, cpc, s)), int>::value), ""); in main() 35 static_assert((std::is_same<decltype(strcoll(cpc, cpc)), int>::value), ""); in main() [all …]
|
/external/libcxx/test/std/numerics/c.math/ |
D | cmath.pass.cpp | 106 static_assert((std::is_same<decltype(std::abs((float)0)), float>::value), ""); in test_abs() 107 static_assert((std::is_same<decltype(std::abs((double)0)), double>::value), ""); in test_abs() 108 static_assert((std::is_same<decltype(std::abs((long double)0)), long double>::value), ""); in test_abs() 109 static_assert((std::is_same<decltype(abs(Ambiguous())), Ambiguous>::value), ""); in test_abs() 115 static_assert((std::is_same<decltype(std::acos((float)0)), float>::value), ""); in test_acos() 116 static_assert((std::is_same<decltype(std::acos((bool)0)), double>::value), ""); in test_acos() 117 static_assert((std::is_same<decltype(std::acos((unsigned short)0)), double>::value), ""); in test_acos() 118 static_assert((std::is_same<decltype(std::acos((int)0)), double>::value), ""); in test_acos() 119 static_assert((std::is_same<decltype(std::acos((unsigned int)0)), double>::value), ""); in test_acos() 120 static_assert((std::is_same<decltype(std::acos((long)0)), double>::value), ""); in test_acos() [all …]
|
/external/llvm-project/libcxx/test/std/numerics/c.math/ |
D | cmath.pass.cpp | 116 static_assert((std::is_same<decltype(std::abs((float)0)), float>::value), ""); in test_abs() 117 static_assert((std::is_same<decltype(std::abs((double)0)), double>::value), ""); in test_abs() 119 (std::is_same<decltype(std::abs((long double)0)), long double>::value), ""); in test_abs() 120 static_assert((std::is_same<decltype(std::abs((int)0)), int>::value), ""); in test_abs() 121 static_assert((std::is_same<decltype(std::abs((long)0)), long>::value), ""); in test_abs() 122 static_assert((std::is_same<decltype(std::abs((long long)0)), long long>::value), in test_abs() 124 static_assert((std::is_same<decltype(std::abs((unsigned char)0)), int>::value), in test_abs() 126 static_assert((std::is_same<decltype(std::abs((unsigned short)0)), int>::value), in test_abs() 128 static_assert((std::is_same<decltype(std::abs((signed char)0)), int>::value), in test_abs() 130 static_assert((std::is_same<decltype(std::abs((short)0)), int>::value), in test_abs() [all …]
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
D | common_type.pass.cpp | 76 static_assert(std::is_same<Decay<T1>, T1>::value, "must be same"); 77 static_assert(std::is_same<Decay<T2>, T2>::value, "must be same"); 94 static_assert(std::is_same<CommonType<void>, void>::value, ""); in test_bullet_two() 95 static_assert(std::is_same<CommonType<int>, int>::value, ""); in test_bullet_two() 96 static_assert(std::is_same<CommonType<int const>, int>::value, ""); in test_bullet_two() 97 static_assert(std::is_same<CommonType<int volatile[]>, int volatile*>::value, ""); in test_bullet_two() 98 static_assert(std::is_same<CommonType<void(&)()>, void(*)()>::value, ""); in test_bullet_two() 107 static_assert(!std::is_same<T, DT>::value || !std::is_same<U, DU>::value, ""); in test_bullet_three_one_imp() 108 static_assert(std::is_same<CommonType<T, U>, Expect>::value, ""); in test_bullet_three_one_imp() 109 static_assert(std::is_same<CommonType<U, T>, Expect>::value, ""); in test_bullet_three_one_imp() [all …]
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | allocator_pointers.pass.cpp | 46 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 51 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 53 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 54 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 55 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() 56 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | allocator_pointers.pass.cpp | 46 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 51 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 53 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 54 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 55 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() 56 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer() [all …]
|
/external/libcxx/test/std/utilities/memory/default.allocator/ |
D | allocator_pointers.pass.cpp | 45 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 46 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 52 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 53 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 54 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() 55 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/memory/default.allocator/ |
D | allocator_pointers.pass.cpp | 45 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer() 46 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer() 47 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer() 52 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 53 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 54 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() 55 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer() [all …]
|
/external/llvm-project/libcxx/test/std/language.support/support.runtime/ |
D | cstdlib.pass.cpp | 47 static_assert((std::is_same<decltype(obj.quot), IntType>::value), ""); in test_div_struct() 48 static_assert((std::is_same<decltype(obj.rem), IntType>::value), ""); in test_div_struct() 65 static_assert((std::is_same<decltype(std::abs((float)0)), float>::value), ""); in test_abs() 66 static_assert((std::is_same<decltype(std::abs((double)0)), double>::value), ""); in test_abs() 68 (std::is_same<decltype(std::abs((long double)0)), long double>::value), ""); in test_abs() 69 static_assert((std::is_same<decltype(std::abs((int)0)), int>::value), ""); in test_abs() 70 static_assert((std::is_same<decltype(std::abs((long)0)), long>::value), ""); in test_abs() 71 static_assert((std::is_same<decltype(std::abs((long long)0)), long long>::value), in test_abs() 73 static_assert((std::is_same<decltype(std::abs((unsigned char)0)), int>::value), in test_abs() 75 static_assert((std::is_same<decltype(std::abs((unsigned short)0)), int>::value), in test_abs() [all …]
|
/external/libcxx/test/std/language.support/support.runtime/ |
D | cstdlib.pass.cpp | 48 static_assert((std::is_same<decltype(obj.quot), IntType>::value), ""); in test_div_struct() 49 static_assert((std::is_same<decltype(obj.rem), IntType>::value), ""); in test_div_struct() 57 static_assert((std::is_same<std::size_t, decltype(sizeof(int))>::value), ""); in main() 62 static_assert((std::is_same<decltype(std::atof("")), double>::value), ""); in main() 63 static_assert((std::is_same<decltype(std::atoi("")), int>::value), ""); in main() 64 static_assert((std::is_same<decltype(std::atol("")), long>::value), ""); in main() 65 static_assert((std::is_same<decltype(std::atoll("")), long long>::value), ""); in main() 66 static_assert((std::is_same<decltype(std::getenv("")), char*>::value), ""); in main() 67 static_assert((std::is_same<decltype(std::strtod("", endptr)), double>::value), ""); in main() 68 static_assert((std::is_same<decltype(std::strtof("", endptr)), float>::value), ""); in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
D | common_type.pass.cpp | 98 static_assert((std::is_same<typename std::decay<T1>::type, T1>::value), "must be same"); 99 static_assert((std::is_same<typename std::decay<T2>::type, T2>::value), "must be same"); 116 static_assert((std::is_same<std::common_type<void>::type, void>::value), ""); in test_bullet_two() 117 static_assert((std::is_same<std::common_type<int>::type, int>::value), ""); in test_bullet_two() 118 static_assert((std::is_same<std::common_type<int const>::type, int>::value), ""); in test_bullet_two() 119 static_assert((std::is_same<std::common_type<int volatile[]>::type, int volatile*>::value), ""); in test_bullet_two() 120 static_assert((std::is_same<std::common_type<void(&)()>::type, void(*)()>::value), ""); in test_bullet_two() 129 static_assert((!std::is_same<T, DT>::value || !std::is_same<U, DU>::value), ""); in test_bullet_three_one_imp() 130 static_assert((std::is_same<typename std::common_type<T, U>::type, Expect>::value), ""); in test_bullet_three_one_imp() 131 static_assert((std::is_same<typename std::common_type<U, T>::type, Expect>::value), ""); in test_bullet_three_one_imp() [all …]
|
/external/eigen/unsupported/test/ |
D | cxx11_meta.cpp | 15 using Eigen::internal::is_same; 89 VERIFY((is_same<typename gen_numeric_list<int, 0>::type, numeric_list<int>>::value)); in test_gen_numeric_list() 90 VERIFY((is_same<typename gen_numeric_list<int, 1>::type, numeric_list<int, 0>>::value)); in test_gen_numeric_list() 91 VERIFY((is_same<typename gen_numeric_list<int, 2>::type, numeric_list<int, 0, 1>>::value)); in test_gen_numeric_list() 92 …VERIFY((is_same<typename gen_numeric_list<int, 5>::type, numeric_list<int, 0, 1, 2, 3, 4>>::value)… in test_gen_numeric_list() 93 …VERIFY((is_same<typename gen_numeric_list<int, 10>::type, numeric_list<int, 0, 1, 2, 3, 4, 5, 6, 7… in test_gen_numeric_list() 95 VERIFY((is_same<typename gen_numeric_list<int, 0, 42>::type, numeric_list<int>>::value)); in test_gen_numeric_list() 96 VERIFY((is_same<typename gen_numeric_list<int, 1, 42>::type, numeric_list<int, 42>>::value)); in test_gen_numeric_list() 97 VERIFY((is_same<typename gen_numeric_list<int, 2, 42>::type, numeric_list<int, 42, 43>>::value)); in test_gen_numeric_list() 98 …VERIFY((is_same<typename gen_numeric_list<int, 5, 42>::type, numeric_list<int, 42, 43, 44, 45, 46>… in test_gen_numeric_list() [all …]
|
/external/llvm-project/libcxx/test/std/input.output/file.streams/c.files/ |
D | cstdio.pass.cpp | 102 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); in main() 103 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); in main() 104 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); in main() 105 static_assert((std::is_same<decltype(std::vfprintf(fp," ",va)), int>::value), ""); in main() 106 static_assert((std::is_same<decltype(std::fprintf(fp," ")), int>::value), ""); in main() 107 static_assert((std::is_same<decltype(std::fscanf(fp," ")), int>::value), ""); in main() 108 static_assert((std::is_same<decltype(std::snprintf(cp,0," ")), int>::value), ""); in main() 109 static_assert((std::is_same<decltype(std::sprintf(cp," ")), int>::value), ""); in main() 110 static_assert((std::is_same<decltype(std::sscanf(""," ")), int>::value), ""); in main() 111 static_assert((std::is_same<decltype(std::vfprintf(fp," ",va)), int>::value), ""); in main() [all …]
|
/external/libcxx/test/std/input.output/file.streams/c.files/ |
D | cstdio.pass.cpp | 101 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); in main() 102 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); in main() 103 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); in main() 104 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); in main() 105 static_assert((std::is_same<decltype(std::fprintf(fp," ")), int>::value), ""); in main() 106 static_assert((std::is_same<decltype(std::fscanf(fp,"")), int>::value), ""); in main() 107 static_assert((std::is_same<decltype(std::snprintf(cp,0," ")), int>::value), ""); in main() 108 static_assert((std::is_same<decltype(std::sprintf(cp," ")), int>::value), ""); in main() 109 static_assert((std::is_same<decltype(std::sscanf("","")), int>::value), ""); in main() 110 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/array/ |
D | types.pass.cpp | 38 …static_assert((std::is_same<typename ItT::iterator_category, std::random_access_iterator_tag>::val… in test_iterators() 39 static_assert((std::is_same<typename ItT::value_type, typename C::value_type>::value), ""); in test_iterators() 40 static_assert((std::is_same<typename ItT::reference, typename C::reference>::value), ""); in test_iterators() 41 static_assert((std::is_same<typename ItT::pointer, typename C::pointer>::value), ""); in test_iterators() 42 …static_assert((std::is_same<typename ItT::difference_type, typename C::difference_type>::value), "… in test_iterators() 44 …static_assert((std::is_same<typename CItT::iterator_category, std::random_access_iterator_tag>::va… in test_iterators() 45 static_assert((std::is_same<typename CItT::value_type, typename C::value_type>::value), ""); in test_iterators() 46 static_assert((std::is_same<typename CItT::reference, typename C::const_reference>::value), ""); in test_iterators() 47 static_assert((std::is_same<typename CItT::pointer, typename C::const_pointer>::value), ""); in test_iterators() 48 …static_assert((std::is_same<typename CItT::difference_type, typename C::difference_type>::value), … in test_iterators() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/array/ |
D | types.pass.cpp | 37 …static_assert((std::is_same<typename ItT::iterator_category, std::random_access_iterator_tag>::val… in test_iterators() 38 static_assert((std::is_same<typename ItT::value_type, typename C::value_type>::value), ""); in test_iterators() 39 static_assert((std::is_same<typename ItT::reference, typename C::reference>::value), ""); in test_iterators() 40 static_assert((std::is_same<typename ItT::pointer, typename C::pointer>::value), ""); in test_iterators() 41 …static_assert((std::is_same<typename ItT::difference_type, typename C::difference_type>::value), "… in test_iterators() 43 …static_assert((std::is_same<typename CItT::iterator_category, std::random_access_iterator_tag>::va… in test_iterators() 44 static_assert((std::is_same<typename CItT::value_type, typename C::value_type>::value), ""); in test_iterators() 45 static_assert((std::is_same<typename CItT::reference, typename C::const_reference>::value), ""); in test_iterators() 46 static_assert((std::is_same<typename CItT::pointer, typename C::const_pointer>::value), ""); in test_iterators() 47 …static_assert((std::is_same<typename CItT::difference_type, typename C::difference_type>::value), … in test_iterators() [all …]
|
/external/clang/test/SemaCXX/ |
D | cxx1z-lambda-star-this.cpp | 6 template<class, class> constexpr bool is_same = false; variable 7 template<class T> constexpr bool is_same<T, T> = true; variable 86 static_assert(is_same<decltype(this), X*>); in foo() 89 static_assert(is_same<decltype(this), X*>); in foo() 92 static_assert(is_same<decltype(this), X*>); in foo() 98 static_assert(is_same<decltype(this), const X*>); in foo() 100 static_assert(is_same<decltype(this), const X*>); in foo() 102 static_assert(is_same<decltype(this), const X*>); in foo() 106 static_assert(is_same<decltype(this), X*>); in foo() 108 static_assert(is_same<decltype(this), X*>); in foo() [all …]
|