summaryrefslogtreecommitdiff
path: root/llvm/test/Object/wasm-bad-metadata-version.yaml
blob: 7bda5b8d13aa538169a7ca9284db17eb5d647b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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)