aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/alias.ll
blob: e3636bc7017f7a439bb3d42404da9fe2ed8e912b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN:  not llvm-as %s -o /dev/null 2>&1 | FileCheck %s


declare void @f()
@fa = alias void ()* @f
; CHECK: Alias must point to a definition
; CHECK-NEXT: @fa

@g = external global i32
@ga = alias i32* @g
; CHECK: Alias must point to a definition
; CHECK-NEXT: @ga