[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / ObjectYAML / wasm / invalid_export.yaml
bloba61f8c4cfdee8ce559d0fdb9a4714c8e36dcdf87
1 # RUN: yaml2obj < %s | not obj2yaml 2>&1 | FileCheck %s
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
13 # CHECK: Error reading file: <stdin>: Invalid function export