12 lines · plain
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2 3; Use of intrinsic as non-callee should be rejected.4 5; CHECK: error: intrinsic can only be used as callee6define void @test() {7 call void @foo(ptr @llvm.umax)8 ret void9}10 11declare void @foo(ptr)12