invalid-disubrange-count-negative.ll 219 B

1234567
  1. ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
  2. ; CHECK-NOT: error:
  3. !0 = !DISubrange(count: -1)
  4. ; CHECK: <stdin>:[[@LINE+1]]:25: error: value for 'count' too small, limit is -1
  5. !0 = !DISubrange(count: -2)