Imported Upstream version 2.9.0
[debian/cc1111] / support / regression / tests / bug1788177.c
1 /*
2     bug 1788177
3 */
4
5 #include <stdbool.h>
6 #include <testfwk.h>
7
8 #ifdef __bool_true_false_are_defined
9
10 bool var;
11
12 // no need to call this, it generates compiler error:
13 //   Caught signal 11: SIGSEGV
14 void foo(bool parm) {
15         var = parm;
16 }
17
18 #endif
19
20 void
21 testBug(void)
22 {
23         ASSERT(1);
24 }