forked from OSchip/llvm-project
10 lines
308 B
LLVM
10 lines
308 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
declare i32 @llvm.umax.i32(i32, i32)
|
|
declare i32 @llvm.my.custom.intrinsic()
|
|
|
|
; CHECK: Invalid user of intrinsic instruction!
|
|
@g1 = global i32(i32, i32)* @llvm.umax.i32
|
|
; CHECK: Invalid user of intrinsic instruction!
|
|
@g2 = global i32()* @llvm.my.custom.intrinsic
|