projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase
[oota-llvm.git]
/
test
/
C++Frontend
/
2003-05-21-UnionTest.c
1
#include <stdio.h>
2
3
int __signbit (double __x) {
4
union { double __d; int __i[3]; } __u = { __d: __x };
5
return __u.__i[1] < 0;
6
}
7
8
int main() {
9
printf("%d %d\n", __signbit(-1), __signbit(2.0));
10
return 0;
11
}