Home
last modified time | relevance | path

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

/external/clang/test/SemaCXX/
Daddress-space-conversion.cpp10 typedef void __attribute__((address_space(1))) *void_ptr_1; typedef
50 void test_static_cast(void_ptr vp, void_ptr_1 vp1, void_ptr_2 vp2, in test_static_cast()
65 (void)static_cast<void_ptr_1>(ap1); in test_static_cast()
90 (void)static_cast<void_ptr_1>(ap); // expected-error{{is not allowed}} in test_static_cast()
91 (void)static_cast<void_ptr_1>(ap2); // expected-error{{is not allowed}} in test_static_cast()
131 void test_reinterpret_cast(void_ptr vp, void_ptr_1 vp1, void_ptr_2 vp2, in test_reinterpret_cast()
157 void test_cstyle_cast(void_ptr vp, void_ptr_1 vp1, void_ptr_2 vp2, in test_cstyle_cast()
181 void test_implicit_conversion(void_ptr vp, void_ptr_1 vp1, void_ptr_2 vp2, in test_implicit_conversion()
186 void_ptr_1 vp_1A = ap1; in test_implicit_conversion()
194 void_ptr_1 vp_1B = ap2; // expected-error{{cannot initialize a variable of type}} in test_implicit_conversion()