1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Bitcode/metadata-only-empty-string.ll
Duncan P. N. Exon Smith 4c3b875a0b BitcodeReader: Allow METADATA_STRINGS to only have !""
Support parsing a METADATA_STRINGS record that only has a single piece
of metadata, !"".  Fixes a corner case in r264551.

llvm-svn: 264699
2016-03-29 05:25:17 +00:00

8 lines
120 B
LLVM

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; CHECK: !named = !{!0}
!named = !{!0}
; CHECK: !0 = !{!""}
!0 = !{!""}