1 ; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
3 ; CHECK: Attribute 'range(i8 1, 0)' applied to incompatible type!
4 ; CHECK-NEXT: ptr @bit_widths_do_not_match
5 define void @bit_widths_do_not_match(i32 range(i8 1, 0) %a) {
9 ; CHECK: Attribute 'range(i8 1, 0)' applied to incompatible type!
10 ; CHECK-NEXT: ptr @bit_widths_do_not_match_vector
11 define void @bit_widths_do_not_match_vector(<4 x i32> range(i8 1, 0) %a) {
15 ; CHECK: Attribute 'range(i8 1, 0)' applied to incompatible type!
16 ; CHECK-NEXT: ptr @not-integer-type
17 define void @not-integer-type(ptr range(i8 1, 0) %a) {