summaryrefslogtreecommitdiff
path: root/test/FrontendC/2002-07-31-BadAssert.c
blob: 5c3d74cfb6beff35933c9f729f26f04a6dd997da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %llvmgcc -S %s -o - | llvm-as -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);
}