1 ; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
3 ; CHECK: 'vscale_range' minimum must be greater than 0
4 declare ptr @a(ptr) vscale_range(0, 1)
6 ; CHECK: 'vscale_range' minimum cannot be greater than maximum
7 declare ptr @b(ptr) vscale_range(8, 1)
9 ; CHECK: 'vscale_range' minimum must be power-of-two value
10 declare ptr @c(ptr) vscale_range(3, 16)
12 ; CHECK: 'vscale_range' maximum must be power-of-two value
13 declare ptr @d(ptr) vscale_range(2, 5)