Home
last modified time | relevance | path

Searched refs:B_ptr_1 (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
Daddress-space-conversion.cpp22 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()
126 (void)dynamic_cast<B_ptr_1>(ap2); // 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()
[all …]