Searched refs:int_ptr_1 (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Daddress-space-conversion.cpp14 typedef int __attribute__((address_space(1))) *int_ptr_1; typedef
25 void test_const_cast(int_ptr ip, int_ptr_1 ip1, int_ptr_2 ip2,
33 (void)const_cast<int_ptr_1>(ip); // expected-error{{is not allowed}}
34 (void)const_cast<int_ptr_1>(ip2); // expected-error{{is not allowed}}
47 (void)const_cast<int_ptr_1>(cip1);

Completed in 123 milliseconds