DebugInfo: Really support 2^16 arguments in a subprogram
[oota-llvm.git] / test / Assembler / invalid-dilocalvariable-arg-negative.ll
1 ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3 !0 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: 0)
4
5 ; CHECK: <stdin>:[[@LINE+1]]:66: error: expected unsigned integer
6 !1 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: -1)