;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.

;; RUN: wasm-merge %s first %s.second second --rename-export-conflicts -all -S -o - | filecheck %s

;; An empty module. The interesting part is in the second module: we should
;; copy the i64 table properly.
(module
)
;; CHECK:      (type $0 (func))

;; CHECK:      (table $table i64 15 15 funcref)

;; CHECK:      (elem $0 (i64.const 0) $second)

;; CHECK:      (export "table" (table $table))

;; CHECK:      (func $second (type $0)
;; CHECK-NEXT: )