projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
The hello pass actually requires a function to chew on!
[oota-llvm.git]
/
test
/
Feature
/
prototype.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
2
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3
; RUN: diff %t1.ll %t2.ll
4
5
implementation
6
7
declare int "bar"(int %in)
8
9
int "foo"(int %blah)
10
begin
11
%xx = call int %bar(int %blah)
12
ret int %xx
13
end
14