aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/alias-type.ll
blob: ead3e95243ff022455110e0a2c006c9ff63b4c04 (plain)
1
2
3
4
5
6
; RUN: not llvm-as %s 2>&1 | FileCheck %s

@foo = global i32 42
@bar = alias i32 @foo

CHECK: error: An alias must have pointer type