Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Daddress-space-conversion.cpp21 typedef B *B_ptr; typedef
52 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) { in test_static_cast()
59 (void)static_cast<B_ptr>(ap); in test_static_cast()
80 (void)static_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}} in test_static_cast()
81 (void)static_cast<B_ptr>(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()
110 (void)dynamic_cast<B_ptr>(ap); in test_dynamic_cast()
123 (void)dynamic_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}} in test_dynamic_cast()
124 (void)dynamic_cast<B_ptr>(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 …]