2006-12-19 19:55:17 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
|
2004-11-06 23:32:43 +00:00
|
|
|
; RUN: lli %t.bc > /dev/null
|
|
|
|
|
2003-01-13 01:03:16 +00:00
|
|
|
|
|
|
|
int %main() {
|
|
|
|
%X = add double 0.0, 1.0
|
|
|
|
%Y = sub double 0.0, 1.0
|
|
|
|
%Z = seteq double %X, %Y
|
|
|
|
add double %Y, 0.0
|
|
|
|
ret int 0
|
|
|
|
}
|