b22b67f8fe93119a8274baead99309ef37fa57b1
[fw/sdcc] / support / regression / tests / bug1546986.c
1 /*
2    bug1546986.c
3 */
4
5 #include <testfwk.h>
6 #include <stdbool.h>
7
8 static unsigned char pdata tst1 = 0x01;
9 static unsigned char pdata tst2 = 0x00;
10
11 static bool test;
12
13 void
14 testBug(void)
15 {
16   test = (tst1 | tst2);
17   ASSERT( test );
18   test = (tst2 | tst1);
19   ASSERT( test );
20 }