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