blob: d7f68499d1048888261cd1776929a9c9812673a1 [file] [log] [blame]
Duncan P. N. Exon Smithe1460002015-02-13 01:32:09 +00001; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3
4; CHECK: !named = !{!0, !1, !2, !3, !4, !4}
5!named = !{!0, !1, !2, !3, !4, !5}
6
7!0 = distinct !{}
Duncan P. N. Exon Smitha5c57cc2015-02-20 20:35:17 +00008!1 = distinct !{}
Duncan P. N. Exon Smithe1460002015-02-13 01:32:09 +00009!2 = !MDFile(filename: "path/to/file", directory: "/path/to/dir")
10
11; CHECK: !3 = !MDNamespace(scope: !0, file: !2, name: "Namespace", line: 7)
12!3 = !MDNamespace(scope: !0, file: !2, name: "Namespace", line: 7)
13
14; CHECK: !4 = !MDNamespace(scope: !0)
15!4 = !MDNamespace(scope: !0, file: null, name: "", line: 0)
16!5 = !MDNamespace(scope: !0)