diff options
Diffstat (limited to 'llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll')
-rw-r--r-- | llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll b/llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll index ff90d66fa11..9cf8e973db2 100644 --- a/llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll +++ b/llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll @@ -1,7 +1,7 @@ ; RUN: not llvm-as < %s 2>&1 | FileCheck %s -!0 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: 1) -!1 = !DILocalVariable(tag: DW_TAG_auto_variable, scope: !{}, arg: 0) +!0 = !DILocalVariable(scope: !{}, arg: 1) +!1 = !DILocalVariable(scope: !{}) -; CHECK: <stdin>:[[@LINE+1]]:66: error: expected unsigned integer -!2 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: -1) +; CHECK: <stdin>:[[@LINE+1]]:40: error: expected unsigned integer +!2 = !DILocalVariable(scope: !{}, arg: -1) |