5 lines · plain
1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s2 3; CHECK: Attribute 'range(i32 1, 145)' applied to incompatible type!4declare void @llvm.test.immarg.range.intrinsic.f32(float immarg range(i32 1, 145))5 1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s2 3; CHECK: Attribute 'range(i32 1, 145)' applied to incompatible type!4declare void @llvm.test.immarg.range.intrinsic.f32(float immarg range(i32 1, 145))5