thughes | d88f415 | 2004-03-28 11:26:29 +0000 | [diff] [blame] | 1 | #include <stdlib.h> |
2 | |||||
3 | struct instance | ||||
4 | { | ||||
5 | unsigned myVal:1; | ||||
6 | }; | ||||
7 | |||||
8 | static struct instance* myInstance; | ||||
9 | |||||
10 | int main(int argc, char** argv) | ||||
11 | { | ||||
12 | float g = 1.0f; | ||||
13 | |||||
14 | myInstance = malloc(sizeof(struct instance)); | ||||
15 | |||||
16 | myInstance->myVal = 1; | ||||
17 | |||||
18 | if (g == 1.0f) | ||||
19 | return 0; | ||||
nethercote | fa39f38 | 2004-10-14 09:48:55 +0000 | [diff] [blame] | 20 | else |
21 | return 1; | ||||
thughes | d88f415 | 2004-03-28 11:26:29 +0000 | [diff] [blame] | 22 | } |