brintos

brintos / llvm-project-archived public Read only

0
0
Text · 616 B · 9141236 Raw
20 lines · plain
1; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s2 3; CHECK: Attribute 'range(i8 1, 0)' applied to incompatible type!4; CHECK-NEXT: ptr @bit_widths_do_not_match5define void @bit_widths_do_not_match(i32 range(i8 1, 0) %a) {6  ret void7}8 9; CHECK: Attribute 'range(i8 1, 0)' applied to incompatible type!10; CHECK-NEXT: ptr @bit_widths_do_not_match_vector11define void @bit_widths_do_not_match_vector(<4 x i32> range(i8 1, 0) %a) {12  ret void13}14 15; CHECK: Attribute 'range(i8 1, 0)' applied to incompatible type!16; CHECK-NEXT: ptr @not-integer-type17define void @not-integer-type(ptr range(i8 1, 0) %a) {18  ret void19}20