aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/invalid-dilocalvariable-arg-negative.ll
blob: 9cf8e973db21ff0283f9a78b7408cd3c8df5a1c8 (plain) (blame)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s 2>&1 | FileCheck %s

!0 = !DILocalVariable(scope: !{}, arg: 1)
!1 = !DILocalVariable(scope: !{})

; CHECK: <stdin>:[[@LINE+1]]:40: error: expected unsigned integer
!2 = !DILocalVariable(scope: !{}, arg: -1)