summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/dilocalvariable-arg-large.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Assembler/dilocalvariable-arg-large.ll')
-rw-r--r--llvm/test/Assembler/dilocalvariable-arg-large.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Assembler/dilocalvariable-arg-large.ll b/llvm/test/Assembler/dilocalvariable-arg-large.ll
new file mode 100644
index 00000000000..7788186a54a
--- /dev/null
+++ b/llvm/test/Assembler/dilocalvariable-arg-large.ll
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder %s
+
+; CHECK: !named = !{!0, !1}
+!named = !{!0, !1}
+
+!0 = distinct !DISubprogram()
+
+; CHECK: !1 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "foo", arg: 65535, scope: !0)
+!1 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "foo", arg: 65535, scope: !0)
OpenPOWER on IntegriCloud