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 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... 27 28# CHECK: {{.*}}: Function named more than once 29