OSDN Git Service

am 0d041145: am 19c6fbb3: Merge "Adds the ability to run the llvm test suite in-tree."
[android-x86/external-llvm.git] / test / Verifier / alias.ll
1 ; RUN:  not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
2
3
4 declare void @f()
5 @fa = alias void ()* @f
6 ; CHECK: Alias must point to a definition
7 ; CHECK-NEXT: @fa
8
9 @g = external global i32
10 @ga = alias i32* @g
11 ; CHECK: Alias must point to a definition
12 ; CHECK-NEXT: @ga