2008-02-19 09:41:04 +08:00
|
|
|
; RUN: llvm-as < %s | llc
|
|
|
|
define i32 @foo(i32 %x) {
|
|
|
|
ret i32 %x
|
2004-08-11 22:16:34 +08:00
|
|
|
}
|
|
|
|
|
2008-02-19 09:41:04 +08:00
|
|
|
define i32 @main() {
|
|
|
|
%r = call i32 @foo( i32 0 ) ; <i32> [#uses=1]
|
|
|
|
ret i32 %r
|
2004-08-11 22:16:34 +08:00
|
|
|
}
|
2008-02-19 09:41:04 +08:00
|
|
|
|