forked from OSchip/llvm-project
parent
eab4bf8fe9
commit
73ddccf7d7
|
@ -14,12 +14,14 @@ __attribute__((address_space(1))) int int_as_one;
|
|||
ASInt *as_int_ptr1 = &int_value; // expected-error{{changes address space of pointer}}
|
||||
ASInt *as_int_ptr2 = &int_as_one;
|
||||
|
||||
// FIXME: TYPE_FIXED_WIDTH_INT
|
||||
|
||||
// TYPE_COMPLEX
|
||||
_Complex float Cfloat_val;
|
||||
Cfloat *Cfloat_ptr = &Cfloat_val;
|
||||
|
||||
// TYPE_ATOMIC
|
||||
_Atomic(int) AtomicInt_val;
|
||||
AtomicInt *AtomicInt_ptr = &AtomicInt_val;
|
||||
|
||||
// TYPE_POINTER
|
||||
int_ptr int_value_ptr = &int_value;
|
||||
|
||||
|
|
|
@ -3,11 +3,12 @@
|
|||
// TYPE_EXT_QUAL
|
||||
typedef __attribute__((address_space(1))) int ASInt;
|
||||
|
||||
// FIXME: TYPE_FIXED_WIDTH_INT
|
||||
|
||||
// TYPE_COMPLEX
|
||||
typedef _Complex float Cfloat;
|
||||
|
||||
// TYPE_ATOMIC
|
||||
typedef _Atomic(int) AtomicInt;
|
||||
|
||||
// TYPE_POINTER
|
||||
typedef int * int_ptr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue