summaryrefslogtreecommitdiff
path: root/test/binary/duplicate-func-names.txt
blob: b19b6137a2d9af556f8deae87e7077f50864e374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
;;; TOOL: run-gen-wasm
magic
version
section(TYPE) { count[1] function params[0] results[0] }
section(FUNCTION) { count[3] type[0] type[0] type[0] }
section(CODE) {
  count[3]
  func { locals[decl_count[0]] }
  func { locals[decl_count[0]] }
  func { locals[decl_count[0]] }
}
section("name") {
  section(NAME_FUNCTION) {
    func_count[3]
    index[0] str("F1")
    index[1] str("F1")
    index[2] str("F1")
  }
}
(;; STDOUT ;;;
(module
  (type (;0;) (func))
  (func $F1 (type 0))
  (func $F1.1 (type 0))
  (func $F1.2 (type 0)))
;;; STDOUT ;;)