Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Daddress-space-conversion.cpp18 typedef A __attribute__((address_space(1))) *A_ptr_1; typedef
26 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2, in test_const_cast()
40 (void)const_cast<A_ptr_1>(ap); // expected-error{{is not allowed}} in test_const_cast()
41 (void)const_cast<A_ptr_1>(ap2); // 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()
55 (void)static_cast<A_ptr_1>(bp1); in test_static_cast()
68 (void)static_cast<A_ptr_1>(vp1); in test_static_cast()
74 (void)static_cast<A_ptr_1>(bp); // expected-error{{is not allowed}} in test_static_cast()
75 (void)static_cast<A_ptr_1>(bp2); // expected-error{{is not allowed}} in test_static_cast()
96 (void)static_cast<A_ptr_1>(vp); // expected-error{{casts away qualifiers}} in test_static_cast()
[all …]