llvm-for-llvmta/test/Object/wasm-bad-metadata-version.yaml

12 lines
265 B
YAML
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: yaml2obj %s | not llvm-objdump -h - 2>&1 | FileCheck %s
!WASM
FileHeader:
Version: 0x00000001
Sections:
- Type: CUSTOM
Name: linking
Version: 0
# CHECK: {{.*}}: unexpected metadata version: 0 (Expected: 2)