llvm-project/llvm/test/Assembler/invalid-dilocalvariable-arg...

7 lines
249 B
LLVM
Raw Normal View History

; RUN: not llvm-as < %s 2>&1 | FileCheck %s
!0 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: 0)
; CHECK: <stdin>:[[@LINE+1]]:66: error: expected unsigned integer
!1 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: -1)