minix/external/bsd/llvm/dist/clang/test/CodeGen/2002-07-31-BadAssert.c

17 lines
297 B
C
Raw Normal View History

// 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);
}