xref: /llvm-project/llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll (revision ed013cd221aea3911dc0c8f33948c05799f751c0)
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3!0 = !DILocalVariable(scope: !{}, arg: 1)
4!1 = !DILocalVariable(scope: !{})
5
6; CHECK: <stdin>:[[@LINE+1]]:40: error: expected unsigned integer
7!2 = !DILocalVariable(scope: !{}, arg: -1)
8