Searched refs:A_ptr_2 (Results 1 – 1 of 1) sorted by relevance
19 typedef A __attribute__((address_space(2))) *A_ptr_2; typedef26 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2, in test_const_cast()42 (void)const_cast<A_ptr_2>(ap); // expected-error{{is not allowed}} in test_const_cast()43 (void)const_cast<A_ptr_2>(ap1); // expected-error{{is not allowed}} in test_const_cast()51 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2, in test_static_cast()56 (void)static_cast<A_ptr_2>(bp2); in test_static_cast()69 (void)static_cast<A_ptr_2>(vp2); in test_static_cast()76 (void)static_cast<A_ptr_2>(bp); // expected-error{{is not allowed}} in test_static_cast()77 (void)static_cast<A_ptr_2>(bp1); // expected-error{{is not allowed}} in test_static_cast()98 (void)static_cast<A_ptr_2>(vp); // expected-error{{casts away qualifiers}} in test_static_cast()[all …]