typedef int INT;
INT int_value;
__attribute__((address_space(1))) int int_as_one;
ASInt *as_int_ptr1 = &int_value; ASInt *as_int_ptr2 = &int_as_one;
_Complex float Cfloat_val;
Cfloat *Cfloat_ptr = &Cfloat_val;
_Atomic(int) AtomicInt_val;
AtomicInt *AtomicInt_ptr = &AtomicInt_val;
int_ptr int_value_ptr = &int_value;
void test_block_ptr(Block *bl) {
*bl = ^(int x, float f) { return x; };
}
five_ints fvi = { 1, 2, 3, 4, 5 };
float_array fa1 = { 1, 2, 3 };
float_array fa2 = { 1, 2, 3, 4, 5, 6, 7, 8 };
float4 f4 = { 1.0, 2.0, 3.0, 4.0 };
ext_float4 ef4 = { 1.0, 2.0, 3.0, 4.0 };
noproto np1;
int np1(x, y)
int x;
float y;
{
return x;
}
proto p1;
float p1(float x, float y, ...) {
return x + y;
}
proto *p2 = p1;
int_ptr_ptr ipp = &int_value_ptr;
typeof_17 *t17 = &int_value;
struct S { int x, y; };
typeof_17 t17_2 = (struct S){1, 2};
int_ptr_ptr2 ipp2 = &int_value_ptr;