llvm-for-llvmta/test/Assembler/invalid-dilocalvariable-arg...

8 lines
231 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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)