Files
llvm/test/ObjectYAML/wasm/header_invalid_version.yaml
Sam Clegg b856c16f91 obj2yaml: Improve error reporting
Previously only the error codes were reported which
meant that useful information about malformed inputs
was not shown.

Differential Revision: https://reviews.llvm.org/D34008

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305609 91177308-0d34-0410-b5e6-96231b3b80d8
2017-06-16 23:29:54 +00:00

7 lines
167 B
YAML

# RUN: yaml2obj %s | not obj2yaml 2>&1 | FileCheck %s
--- !WASM
FileHeader:
Version: 0x00000002
...
# CHECK: Error reading file: <stdin>: Bad version number