aboutsummaryrefslogtreecommitdiff
blob: 4bfdd2ce06027d2bd0beb14ccd1245d09deea2a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: %lli -force-interpreter %s

define i32 @func() {
entry:
  ret i32 0
}

@alias = alias i32 (), i32 ()* @func

define i32 @main() {
entry:
  %call = call i32 @alias()
  ret i32 %call
}