repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
ObjectYAML
/
wasm
/
invalid_export.yaml
blob
b28f606eb1bcd2e555aea3ae32bbae8c6d89cc5b
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