summaryrefslogtreecommitdiff
path: root/test/CodeGen/2002-07-31-BadAssert.c
blob: 512a63a09a298ac629ac2ebf4a15c4b55bc79f37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

typedef struct
{
        unsigned char type;        /* Indicates, NORMAL, SUBNORMAL, etc. */
} InternalFPF;


static void SetInternalFPFZero(InternalFPF *dest) {
  dest->type=0;
}

void denormalize(InternalFPF *ptr) {
   SetInternalFPFZero(ptr);
}