10 lines · plain
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2 3; Use of unknown intrinsic without declaration should be rejected.4 5; CHECK: error: unknown intrinsic 'llvm.foobar'6define void @test() {7 call i8 @llvm.foobar(i8 0, i16 1)8 ret void9}10