aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/prototype.ll
blob: 9bab73f7fb7e2896e330ae129acfa66c4f0f6493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-upgrade < %s | llvm-as | 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