1 ; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
3 ; CHECK: invalid uses of intrinsic global variable
4 ; CHECK-NEXT: ptr @llvm.used
5 @llvm.used = appending global [1 x ptr] [ptr @foo]
7 ; CHECK: invalid uses of intrinsic global variable
8 ; CHECK-NEXT: ptr @llvm.compiler.used
9 @llvm.compiler.used = appending global [1 x ptr] [ptr @bar]
19 @used_user = global ptr @llvm.used
20 @compiler_used_user = global ptr @llvm.compiler.used