1 /* Used with the types.c test */ 2 3 // TYPE_EXT_QUAL 4 typedef __attribute__((address_space(1))) int ASInt; 5 6 // FIXME: TYPE_FIXED_WIDTH_INT 7 8 // TYPE_COMPLEX 9 typedef _Complex float Cfloat; 10 11 // TYPE_POINTER 12 typedef int * int_ptr; 13 14 // TYPE_BLOCK_POINTER 15 typedef int (^Block)(int, float); 16 17 // TYPE_CONSTANT_ARRAY 18 typedef int five_ints[5]; 19 20 // TYPE_INCOMPLETE_ARRAY 21 typedef float float_array[]; 22 23 // TYPE_VARIABLE_ARRAY in stmts.[ch] 24 25 // TYPE_VECTOR 26 typedef float float4 __attribute__((vector_size(16))); 27 28 // TYPE_EXT_VECTOR 29 typedef float ext_float4 __attribute__((ext_vector_type(4))); 30 31 // TYPE_FUNCTION_NO_PROTO 32 typedef int noproto(); 33 34 // TYPE_FUNCTION_PROTO 35 typedef float proto(float, float, ...); 36 37 // TYPE_TYPEDEF 38 typedef int_ptr * int_ptr_ptr; 39 40 // TYPE_TYPEOF_EXPR 41 typedef typeof(17) typeof_17; 42 43 // TYPE_TYPEOF 44 typedef typeof(int_ptr *) int_ptr_ptr2; 45 46 struct S2; 47 struct S2 {}; 48 enum E; 49 enum E { myenum }; 50