Imported Upstream version 2.9.0
[debian/cc1111] / support / regression / tests / bug-435068.c
1 /* bug-435068.c
2  */
3 #include <testfwk.h>
4
5 char c, d; 
6
7 static void
8 testQuestion(void)
9 {
10     volatile char c, d;
11
12     c = (0x100 & 0x100) ? 4 : 8; // ok 
13     d = ((0x100 & 0x100) ? 4 : 8) + 1; 
14
15     ASSERT(c == 4);
16     ASSERT(d == 5);
17