llvm-mirror/test/FrontendC/2002-07-31-BadAssert.c

17 lines
304 B
C
Raw Normal View History

2004-11-06 22:41:00 +00:00
// 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);
}