1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

New testcase that was killing the CFE

llvm-svn: 6277
This commit is contained in:
Chris Lattner 2003-05-21 23:01:35 +00:00
parent 609f9dea47
commit da20909c1a

View File

@ -0,0 +1,11 @@
#include <stdio.h>
int __signbit (double __x) {
union { double __d; int __i[3]; } __u = { __d: __x };
return __u.__i[1] < 0;
}
int main() {
printf("%d %d\n", __signbit(-1), __signbit(2.0));
return 0;
}