Revert "Reapply "[llvm-jitlink] Use concurrent linking by default." with fixes. ...
[llvm-project.git] / llvm / test / Object / Wasm / duplicate-name.test
blobb36bff1a2c30d20045f5b6364518e2dd225fa34f
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