1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3
4; CHECK: !named = !{!0, !3}
5!named = !{!0, !3}
6
7!llvm.module.flags = !{!4}
8!llvm.dbg.cu = !{!1}
9
10!0 = distinct !DISubprogram(unit: !1)
11!1 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang",
12                             file: !2,
13                             isOptimized: true, flags: "-O2",
14                             splitDebugFilename: "abc.debug", emissionKind: 2)
15!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
16
17; CHECK: !3 = !DILocalVariable(name: "foo", arg: 65535, scope: !0)
18!3 = !DILocalVariable(name: "foo", arg: 65535, scope: !0)
19
20!4 = !{i32 2, !"Debug Info Version", i32 3}
21