mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 16:37:42 +00:00
7380257f0e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233565 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
596 B
LLVM
17 lines
596 B
LLVM
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder %s
|
|
|
|
; CHECK: !named = !{!0, !1, !2, !3, !4, !4}
|
|
!named = !{!0, !1, !2, !3, !4, !5}
|
|
|
|
!0 = !MDFile(filename: "file.cpp", directory: "/path/to/dir")
|
|
!1 = distinct !{}
|
|
!2 = !MDFile(filename: "path/to/file", directory: "/path/to/dir")
|
|
|
|
; CHECK: !3 = !MDNamespace(name: "Namespace", scope: !0, file: !2, line: 7)
|
|
!3 = !MDNamespace(name: "Namespace", scope: !0, file: !2, line: 7)
|
|
|
|
; CHECK: !4 = !MDNamespace(scope: !0)
|
|
!4 = !MDNamespace(name: "", scope: !0, file: null, line: 0)
|
|
!5 = !MDNamespace(scope: !0)
|