2006-12-02 04:23:10 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc
|
2004-11-06 21:40:51 +00:00
|
|
|
|
2004-08-11 14:16:34 +00:00
|
|
|
int %bar(int %x) {
|
|
|
|
ret int 0
|
|
|
|
}
|
|
|
|
|
|
|
|
int %foo(int %x) {
|
|
|
|
%q = call int %bar(int 1)
|
|
|
|
ret int %q
|
|
|
|
}
|
|
|
|
|
|
|
|
int %main() {
|
|
|
|
%r = call int %foo(int 2)
|
|
|
|
ret int %r
|
|
|
|
}
|