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