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