;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func (@name "some func") (result i32)
    i32.const 42
    return)
  (@custom section)
  (@custom (@nested section))
  (@custom (section) (@with "other") nested-subsections))
(;; STDERR ;;;
out/test/parse/bad-annotations.txt:4:9: error: annotations not enabled: name
  (func (@name "some func") (result i32)
        ^^^^^^
out/test/parse/bad-annotations.txt:4:16: error: unexpected token "some func", expected ).
  (func (@name "some func") (result i32)
               ^^^^^^^^^^^
out/test/parse/bad-annotations.txt:7:3: error: annotations not enabled: custom
  (@custom section)
  ^^^^^^^^
out/test/parse/bad-annotations.txt:7:12: error: unexpected token section.
  (@custom section)
           ^^^^^^^
;;; STDERR ;;)
