Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / regression / tcc / 104_inline.c
blob766f94a33fdb2bd323b182973c61e2a366e5db59
1 inline void inline_inline_2decl_only(void);
2 inline void inline_inline_2decl_only(void);
4 inline void inline_inline_undeclared(void){}
6 inline void inline_inline_predeclared(void);
7 inline void inline_inline_predeclared(void){}
9 inline void inline_inline_postdeclared(void){}
10 inline void inline_inline_postdeclared(void);
12 inline void inline_inline_prepostdeclared(void);
13 inline void inline_inline_prepostdeclared(void){}
14 inline void inline_inline_prepostdeclared(void);
16 inline void inline_inline_undeclared2(void){}
18 inline void inline_inline_predeclared2(void);
19 inline void inline_inline_predeclared2(void);
20 inline void inline_inline_predeclared2(void){}
22 inline void inline_inline_postdeclared2(void){}
23 inline void inline_inline_postdeclared2(void);
24 inline void inline_inline_postdeclared2(void);
26 inline void inline_inline_prepostdeclared2(void);
27 inline void inline_inline_prepostdeclared2(void);
28 inline void inline_inline_prepostdeclared2(void){}
29 inline void inline_inline_prepostdeclared2(void);
30 inline void inline_inline_prepostdeclared2(void);
32 extern void extern_extern_undeclared(void){}
34 extern void extern_extern_predeclared(void);
35 extern void extern_extern_predeclared(void){}
37 extern void extern_extern_postdeclared(void){}
38 extern void extern_extern_postdeclared(void);
40 extern void extern_extern_prepostdeclared(void);
41 extern void extern_extern_prepostdeclared(void){}
42 extern void extern_extern_prepostdeclared(void);
44 extern void extern_extern_undeclared2(void){}
46 extern void extern_extern_predeclared2(void);
47 extern void extern_extern_predeclared2(void);
48 extern void extern_extern_predeclared2(void){}
50 extern void extern_extern_postdeclared2(void){}
51 extern void extern_extern_postdeclared2(void);
52 extern void extern_extern_postdeclared2(void);
54 extern void extern_extern_prepostdeclared2(void);
55 extern void extern_extern_prepostdeclared2(void);
56 extern void extern_extern_prepostdeclared2(void){}
57 extern void extern_extern_prepostdeclared2(void);
58 extern void extern_extern_prepostdeclared2(void);
60 void extern_undeclared(void){}
62 void extern_predeclared(void);
63 void extern_predeclared(void){}
65 void extern_postdeclared(void){}
66 void extern_postdeclared(void);
68 void extern_prepostdeclared(void);
69 void extern_prepostdeclared(void){}
70 void extern_prepostdeclared(void);
72 void extern_undeclared2(void){}
74 void extern_predeclared2(void);
75 void extern_predeclared2(void);
76 void extern_predeclared2(void){}
78 void extern_postdeclared2(void){}
79 void extern_postdeclared2(void);
80 void extern_postdeclared2(void);
83 extern inline void noinst_extern_inline_undeclared(void){}
85 extern inline void noinst_extern_inline_postdeclared(void){}
86 inline void noinst_extern_inline_postdeclared(void);
88 extern inline void noinst_extern_inline_postdeclared2(void){}
89 inline void noinst_extern_inline_postdeclared2(void);
90 inline void noinst_extern_inline_postdeclared2(void);
92 extern inline void inst_extern_inline_postdeclared(void){}
93 extern inline void inst_extern_inline_postdeclared(void);
94 inline void inst2_extern_inline_postdeclared(void){}
95 void inst2_extern_inline_postdeclared(void);
97 void inst_extern_inline_predeclared(void);
98 extern inline void inst_extern_inline_predeclared(void){}
99 void inst2_extern_inline_predeclared(void);
100 inline void inst2_extern_inline_predeclared(void){}
101 extern inline void inst3_extern_inline_predeclared(void);
102 inline void inst3_extern_inline_predeclared(void){}
104 static inline void noinst_static_inline_postdeclared(void){}
105 static inline void noinst_static_inline_postdeclared(void);
106 static inline void noinst2_static_inline_postdeclared(void){}
107 static void noinst2_static_inline_postdeclared(void);
109 static void noinst_static_inline_predeclared(void);
110 static inline void noinst_static_inline_predeclared(void){}
111 static void noinst2_static_inline_predeclared(void);
112 static inline void noinst2_static_inline_predeclared(void){}
114 static void static_func(void);
115 void static_func(void) { }
117 inline void noinst_extern_inline_func(void);
118 void noinst_extern_inline_func(void) { }
120 int main()
122 inline_inline_undeclared(); inline_inline_predeclared(); inline_inline_postdeclared();
123 inline_inline_undeclared2(); inline_inline_predeclared2(); inline_inline_postdeclared2();
124 noinst_static_inline_predeclared();
125 noinst2_static_inline_predeclared();
126 noinst_static_inline_predeclared();
127 noinst2_static_inline_predeclared();
129 void check_exports();
130 check_exports();
131 return 0;