| ;; NOTE: Assertions have been generated by update_lit_checks.py and should not be edited. | |
| ;; RUN: wasm-opt %s -all --roundtrip -S -o - | filecheck %s --check-prefix=RTRIP | |
| (module | |
| ;; RTRIP: (type $t (struct (field waitqueue))) | |
| (type $t (struct (field waitqueue))) | |
| ;; use $t so roundtripping doesn't drop the definition | |
| (global (ref null $t) (ref.null $t)) | |
| ) |