[Alignment][NFC] Allow constexpr Align
[llvm-complete.git] / test / Object / wasm-duplicate-name.test
blob1bf20778028001944dc54150f33c8cf963674a09
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         ReturnType:      I32
11         ParamTypes:
12           - I32
13   - Type:            IMPORT
14     Imports:
15       - Module:          foo
16         Field:           a
17         Kind:            FUNCTION
18         SigIndex:        0
19   - Type:            CUSTOM
20     Name:            name
21     FunctionNames:
22       - Index:         0
23         Name:          a
24       - Index:         0
25         Name:          b
26 ...
28 # CHECK: {{.*}}: Function named more than once