mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
Testcase that was triggering an incorrect assertion failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3180 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
134c316d2b
commit
8aaee324c9
14
test/CFrontend/2002-07-31-BadAssert.c
Normal file
14
test/CFrontend/2002-07-31-BadAssert.c
Normal 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user