diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
tree | a6140557876943cdd800ee997c9317283394b22c /test/Assembler/mdsubrange-empty-array.ll | |
parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) |
Diffstat (limited to 'test/Assembler/mdsubrange-empty-array.ll')
-rw-r--r-- | test/Assembler/mdsubrange-empty-array.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Assembler/mdsubrange-empty-array.ll b/test/Assembler/mdsubrange-empty-array.ll new file mode 100644 index 0000000000000..7b5279e3d3c2c --- /dev/null +++ b/test/Assembler/mdsubrange-empty-array.ll @@ -0,0 +1,14 @@ +; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s +; RUN: verify-uselistorder %s + +; CHECK: !named = !{!0, !0, !1, !2} +!named = !{!0, !1, !2, !3} + +; CHECK: !0 = !DISubrange(count: -1) +; CHECK-NEXT: !1 = !DISubrange(count: -1, lowerBound: 4) +; CHECK-NEXT: !2 = !DISubrange(count: -1, lowerBound: -5) +!0 = !DISubrange(count: -1) +!1 = !DISubrange(count: -1, lowerBound: 0) + +!2 = !DISubrange(count: -1, lowerBound: 4) +!3 = !DISubrange(count: -1, lowerBound: -5) |