1 ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
3 declare i32 @llvm.umax.i32(i32, i32)
4 declare i32 @llvm.my.custom.intrinsic()
6 ; CHECK: Invalid user of intrinsic instruction!
7 @g1 = global ptr @llvm.umax.i32
8 ; CHECK: Invalid user of intrinsic instruction!
9 @g2 = global ptr @llvm.my.custom.intrinsic