Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug1788177.c
blob4d9f7159f8925b5188ff9edd9e1013b6e35364ee
1 /*
2 bug 1788177
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_sdcc99
9 #endif
11 #include <stdbool.h>
13 #ifdef __bool_true_false_are_defined
15 bool var;
17 // no need to call this, it generates compiler error:
18 // Caught signal 11: SIGSEGV
19 void foo(bool parm) {
20 var = parm;
23 #endif
25 void
26 testBug(void)
28 ASSERT(1);