Imported Upstream version 2.9.0
[debian/cc1111] / support / regression / tests / bug1888147.c
1 /*
2     bug 1888147
3 */
4
5 #include <testfwk.h>
6
7 // no need to call this, it generates compiler error:
8 //   Caught signal 11: SIGSEGV
9 int foo(int n)
10 {
11         int i = 0;
12
13         if (i!=0)
14                 return n;
15         return 0;
16 }
17
18 void
19 testBug(void)
20 {
21         ASSERT(1);
22 }