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.global_ctors
5 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr } ] [
6 { i32, ptr, ptr } { i32 65535, ptr null, ptr null }
9 ; CHECK: invalid uses of intrinsic global variable
10 ; CHECK-NEXT: ptr @llvm.global_dtors
11 @llvm.global_dtors = appending global [1 x { i32, ptr, ptr } ] [
12 { i32, ptr, ptr } { i32 65535, ptr null, ptr null }
15 @ctor_user = global ptr @llvm.global_ctors
16 @dtor_user = global ptr @llvm.global_dtors