1# RUN: yaml2obj %s | not llvm-objdump -h - 2>&1 | FileCheck %s 2 3--- !WASM 4FileHeader: 5 Version: 0x00000001 6Sections: 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... 28 29# CHECK: {{.*}}: Function named more than once 30