brintos

brintos / llvm-project-archived public Read only

0
0
Text · 302 B · deffbd3 Raw
10 lines · plain
1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s2 3declare void @llvm.test.immarg.range.intrinsic.i32(i32 immarg range(i32 -3, 4))4 5define void @test_int_immarg_with_range() {6  ; CHECK: immarg value -4 out of range [-3, 4)7  call void @llvm.test.immarg.range.intrinsic.i32(i32 -4)8  ret void9}10