1 #if defined test_56_btype_excess_1
4 #elif defined test_57_btype_excess_2
7 #elif defined test_58_function_redefinition
8 int f(void) { return 0; }
9 int f(void) { return 1; }
11 #elif defined test_global_redefinition
16 #elif defined test_59_function_array
17 int (*fct
)[42](int x
);
19 #elif defined test_60_enum_redefinition
20 enum color
{ RED
, GREEN
, BLUE
};
21 enum color
{ R
, G
, B
};
24 #elif defined test_62_enumerator_redefinition
25 enum color
{ RED
, GREEN
, BLUE
};
26 enum rgb
{ RED
, G
, B
};
29 #elif defined test_63_local_enumerator_redefinition
45 #elif defined test_61_undefined_enum
48 #elif defined test_74_non_const_init
51 #elif defined test_pointer_assignment
59 void *v1
, **v2
, ***v3
;
61 enum e1
{ a
= 4 } e10
, *e11
, *e12
;
62 enum e2
{ b
= -4 } e20
, *e21
;
63 enum e3
{ c
= 5000000000LL } e30
;
115 #elif defined test_enum_compat
121 #elif defined test_ptr_to_str
122 void f() { _Generic((int const *[]){0}, int:0); }
123 #elif defined test_fnptr_to_str
124 void f() { _Generic((int (*(*)(float,char))(double,int)){0}, int:0); }
125 #elif defined test_array_to_str
126 void f() { _Generic((int(*)[3]){0}, int:0); }
127 #elif defined test_duplicate_def_1
128 static enum myenum
{ L
= -1 } L
;
129 #elif defined test_duplicate_def_2
131 static enum myenum
{ L
= -1 } L
;
133 #elif defined test_abstract_decls
134 int bar(const char *()); // abstract declarator here is okay
135 int bar (const char *(*g
)()) // should match this 'g' argument
140 int foo(int ()) // abstract decl is wrong in definitions
143 #elif defined test_invalid_1
148 #elif defined test_invalid_2
150 #elif defined test_invalid_3
151 struct S
{ int a
, b
; };
152 struct T
{ struct S x
; };
153 struct T gt
= { 42 a
: 1, 43 };
154 #elif defined test_conflicting_types
163 #elif defined test_nested_types
169 #elif defined test_vla_1
175 #elif defined test_invalid_alignas
176 /* _Alignas is no type qualifier */
177 void * _Alignas(16) p1
;
179 #elif defined test_static_assert
182 _Static_assert(ONE
== 0, "don't show me this");
183 _Static_assert(ONE
== 1, "ONE is not 1");