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

/external/clang/test/SemaCXX/
H A Daddress-space-newdelete.cpp6 typedef int __attribute__((address_space(1))) int_1; typedef
9 (void)new int_1; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
11 (void)new int_1 [5]; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
15 (void)new (p) int_1; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
17 (void)new (p) int_1 [5]; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
21 void test_delete(int_1 *ip1) {
H A Daddress-space-references.cpp3 typedef int __attribute__((address_space(1))) int_1; typedef
6 void f0(int_1 &); // expected-note{{candidate function not viable: 1st argument ('int') is in address space 0, but parameter must be in address space 1}} \
8 void f0(const int_1 &); // expected-note{{candidate function not viable: 1st argument ('int') is in address space 0, but parameter must be in address space 1}} \
13 static int_1 i1;
/external/clang/test/SemaTemplate/
H A Daddress-spaces.cpp13 typedef int __attribute__((address_space(1))) int_1;; typedef
30 int check_remove0[is_same<remove_pointer<int_1_ptr>::type, int_1>::value? 1 : -1];
33 int check_remove3[is_same<remove_pointer<int_2_ptr>::type, int_1>::value? -1 : 1];
72 static int __attribute__((address_space(1))) int_1; local
73 identity<int> ii = accept_arg_in_address_space_1(int_1);
74 identity<int __attribute__((address_space(1)))> ii2 = accept_any_arg(int_1);

Completed in 103 milliseconds