summaryrefslogtreecommitdiff
path: root/test/roundtrip/custom-sections.txt
blob: b41b1accf57d2b533b0fd1c2704fb4ab0c53e32c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;; TOOL: run-roundtrip
;;; ARGS: --enable-annotations --stdout
(module
  (@custom "stuff" (before import) "hello")
  (import "a" "b" (func (result i32)))
  (@custom "section" "nice"))
(;; STDOUT ;;;
(module
  (type (;0;) (func (result i32)))
  (import "a" "b" (func (;0;) (type 0)))
  (@custom "stuff" "hello")
  (@custom "section" "nice"))
;;; STDOUT ;;)