llvm/test/Bitcode/metadata-only-empty-string.ll
Duncan P. N. Exon Smith 859d69a3ce 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264699 91177308-0d34-0410-b5e6-96231b3b80d8
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 = !{!""}