summaryrefslogtreecommitdiff
path: root/test/lit/wasm-split/export-name-already-exists.wast
blob: 708929e987bbc42c0e4bf67a5e639698c4226f94 (plain)
1
2
3
4
5
6
7
8
;; RUN: not wasm-split %s --instrument --profile-export=foo 2>&1 \
;; RUN:   | filecheck %s

;; CHECK: error: Export foo already exists.

(module
  (export "foo" (memory 0 0))
)