mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
6cbebb1e6a
Summary: MetadataAsValue uses a canonical format that strips the MDNode if it contains only a single constant value. This triggers an assertion when trying to cast the value to a MDNode. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7165 llvm-svn: 227319
3 lines
82 B
LLVM
3 lines
82 B
LLVM
; RUN: llvm-c-test --set-metadata < /dev/null
|
|
; This used to trigger an assertion
|