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

;; CHECK: error: Export foo already exists.

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