bolt/deps/llvm-18.1.8/llvm/test/ObjectYAML/wasm/invalid_export.yaml
2025-02-14 19:21:04 +01:00

13 lines
341 B
YAML

# RUN: yaml2obj < %s | not obj2yaml 2>&1 | FileCheck %s
--- !WASM
FileHeader:
Version: 0x00000001
Sections:
- Type: EXPORT
Exports:
- Name: invalid_function_index
Kind: FUNCTION
Index: 0x00000001
# CHECK: Error reading file: <stdin>: invalid function export