Debian Codegraph @

llvm/test/ObjectYAML/wasm/invalid_export.yaml

raw
1 # RUN: yaml2obj < %s | not obj2yaml 2>&1 | FileCheck %s
2
3 --- !WASM
4 FileHeader:
5 Version: 0x00000001
6 Sections:
7 - Type: EXPORT
8 Exports:
9 - Name: invalid_function_index
10 Kind: FUNCTION
11 Index: 0x00000001
12
13 # CHECK: Error reading file: <stdin>: invalid function export