1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
6 ; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6}
7 !named = !{!0, !1, !2, !3, !4, !5, !6}
11 !2 = !MDFile(filename: "path/to/file", directory: "/path/to/dir")
15 ; CHECK: !5 = !MDGlobalVariable(name: "foo", linkageName: "foo", scope: !0, file: !2, line: 7, type: !3, isLocal: true, isDefinition: false, variable: i32* @foo, declaration: !4)
16 !5 = !MDGlobalVariable(name: "foo", linkageName: "foo", scope: !0,
17 file: !2, line: 7, type: !3, isLocal: true,
18 isDefinition: false, variable: i32* @foo,
21 ; CHECK: !6 = !MDGlobalVariable(name: "bar", scope: null, isLocal: false, isDefinition: true)
22 !6 = !MDGlobalVariable(name: "bar")