Searched refs:B_ptr_2 (Results 1 – 1 of 1) sorted by relevance
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | address-space-conversion.cpp | 23 typedef B __attribute__((address_space(2))) *B_ptr_2; typedef 52 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) { in test_static_cast() 61 (void)static_cast<B_ptr_2>(ap2); in test_static_cast() 84 (void)static_cast<B_ptr_2>(ap); // expected-error{{casts away qualifiers}} in test_static_cast() 85 (void)static_cast<B_ptr_2>(ap1); // expected-error{{casts away qualifiers}} in test_static_cast() 103 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) { in test_dynamic_cast() 112 (void)dynamic_cast<B_ptr_2>(ap2); in test_dynamic_cast() 127 (void)dynamic_cast<B_ptr_2>(ap); // expected-error{{casts away qualifiers}} in test_dynamic_cast() 133 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2, in test_reinterpret_cast() 159 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2, in test_cstyle_cast() [all …]
|