1# RUN: llc -filetype=obj %p/Inputs/ret32.ll -o %t.ret32.o
2# RUN: llc -filetype=obj %p/Inputs/ret64.ll -o %t.ret64.o
3# RUN: wasm-ld -r -o %t.wasm %t.ret32.o %t.ret64.o
4# RUN: obj2yaml %t.wasm | FileCheck %s
5
6CHECK: Sections:
7CHECK:   - Type:            TYPE
8CHECK:     Signatures:
9CHECK:       - Index:           0
10CHECK:         ReturnType:      I32
11CHECK:         ParamTypes:
12CHECK:           - F32
13CHECK:       - Index:           1
14CHECK:         ReturnType:      I64
15CHECK:         ParamTypes:
16CHECK:           - F64
17CHECK: - Type:            FUNCTION
18CHECK:   FunctionTypes: [ 0, 1 ]
19