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