aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/mdfile-escaped-chars.ll
blob: 5dfd12caf9c3dd40e143e283cbf82521aa9d8aae (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s

; Spot-check that metadata string fields are correctly escaped.

!named = !{!0}

; CHECK: !0 = !MDFile(filename: "\00\01\02\80\81\82\FD\FE\FF", directory: "/dir")
!0 = !MDFile(filename: "\00\01\02\80\81\82\FD\FE\FF", directory: "/dir")