Imported Upstream version 2.9.0
[debian/cc1111] / support / regression / tests / bug1816470.c
1 /*
2     bug 1816470
3 */
4
5 #include <testfwk.h>
6
7 int CalculatedConst(void)
8 {
9         return (unsigned char)(0x100 - 4000000 / 307200.0 + .5);
10 }
11
12 void
13 testConst(void)
14 {
15         ASSERT(CalculatedConst() == 0xF3);
16 }