Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / Assembler / dimodule.ll
blobf5932e5be52130fe3b445af7dab8adec8f3bc438
1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
4 ; CHECK: !named = !{!0, !1, !2, !1, !3, !4}
5 !named = !{!0, !1, !2, !3, !4, !5}
7 !0 = distinct !{}
9 ; CHECK: !1 = !DIModule(scope: !0, name: "Module")
10 !1 = !DIModule(scope: !0, name: "Module")
12 ; CHECK: !2 = !DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include")
13 !2 = !DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include")
15 !3 = !DIModule(scope: !0, name: "Module", configMacros: "")
17 ; CHECK: !3 = !DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include", apinotes: "/tmp/m.apinotes", file: !0, line: 1)
18 !4 = !DIModule(scope: !0, name: "Module", configMacros: "-DNDEBUG", includePath: "/usr/include", apinotes: "/tmp/m.apinotes", file: !0, line: 1)
20 ; CHECK: !4 = !DIModule(scope: !0, name: "Module", isDecl: true)
21 !5 = !DIModule(scope: !0, name: "Module", isDecl: true)