[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / Object / wasm-duplicate-name.test
blob666291c9524086d78855695d78b5ddf3f0cc25d0
1 # RUN: yaml2obj %s | not llvm-objdump -h - 2>&1 | FileCheck %s
3 --- !WASM
4 FileHeader:
5   Version:         0x00000001
6 Sections:
7   - Type:            TYPE
8     Signatures:
9       - Index:           0
10         ParamTypes:
11           - I32
12         ReturnTypes:
13           - I32
14   - Type:            IMPORT
15     Imports:
16       - Module:          foo
17         Field:           a
18         Kind:            FUNCTION
19         SigIndex:        0
20   - Type:            CUSTOM
21     Name:            name
22     FunctionNames:
23       - Index:         0
24         Name:          a
25       - Index:         0
26         Name:          b
27 ...
29 # CHECK: {{.*}}: Function named more than once