Testcase that was triggering an incorrect assertion failure

llvm-svn: 3180
This commit is contained in:
Chris Lattner 2002-07-31 17:39:38 +00:00
parent 5987171ef5
commit f4ef97c59f
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
typedef struct
{
unsigned char type; /* Indicates, NORMAL, SUBNORMAL, etc. */
} InternalFPF;
static void SetInternalFPFZero(InternalFPF *dest) {
dest->type=0;
}
void denormalize(InternalFPF *ptr) {
SetInternalFPFZero(ptr);
}