summaryrefslogtreecommitdiff
path: root/test/Feature/prototype.ll
blob: a97f8129b138c063454d634d2df5fefa8c7bba0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll

implementation

declare int "bar"(int %in) 

int "foo"(int %blah)
begin
  %xx = call int %bar(int %blah)
  ret int %xx
end