Fix most of PR10367.
[oota-llvm.git] / test / Assembler / alias-type.ll
1 ; RUN: not llvm-as %s 2>&1 | FileCheck %s
2
3 @foo = global i32 42
4 @bar = alias i32 @foo
5
6 CHECK: error: An alias must have pointer type