| Eric Christopher | 85e5156 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
| 2 | |||||
| 3 | typedef struct | ||||
| 4 | { | ||||
| 5 | unsigned char type; /* Indicates, NORMAL, SUBNORMAL, etc. */ | ||||
| 6 | } InternalFPF; | ||||
| 7 | |||||
| 8 | |||||
| 9 | static void SetInternalFPFZero(InternalFPF *dest) { | ||||
| 10 | dest->type=0; | ||||
| 11 | } | ||||
| 12 | |||||
| 13 | void denormalize(InternalFPF *ptr) { | ||||
| 14 | SetInternalFPFZero(ptr); | ||||
| 15 | } | ||||
| 16 | |||||