Searched refs:B_ptr_1 (Results 1 – 1 of 1) sorted by relevance
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | address-space-conversion.cpp | 22 typedef B __attribute__((address_space(1))) *B_ptr_1; typedef 52 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) { in test_static_cast() 60 (void)static_cast<B_ptr_1>(ap1); in test_static_cast() 82 (void)static_cast<B_ptr_1>(ap); // expected-error{{casts away qualifiers}} in test_static_cast() 83 (void)static_cast<B_ptr_1>(ap2); // 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() 111 (void)dynamic_cast<B_ptr_1>(ap1); in test_dynamic_cast() 125 (void)dynamic_cast<B_ptr_1>(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 …]
|