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