1 extern void abort(void);
2 extern void main_test (void);
3 extern void abort (void);
4 int inside_main;
5 
6 int
main()7 main ()
8 {
9   inside_main = 1;
10   main_test ();
11   inside_main = 0;
12   return 0;
13 }
14 
15 /* When optimizing, all the constant cases should have been
16    constant folded, so no calls to link_error should remain.
17    In any case, link_error should not be called.  */
18 
19 #ifndef __OPTIMIZE__
20 void
link_error(void)21 link_error (void)
22 {
23   abort ();
24 }
25 #endif
26