2023-10-05 08:46:07 +02:00
|
|
|
;; expected = R"---(;; This is a polyglot C++/WAT file.
|
|
|
|
;; Comment lines are ignored and not expected in the disassembler output.
|
|
|
|
(module
|
2024-04-18 07:06:43 +02:00
|
|
|
(rec
|
|
|
|
(type $type0 (func))
|
|
|
|
)
|
2023-10-05 08:46:07 +02:00
|
|
|
(string "foo" (;0;))
|
|
|
|
(func $func0
|
|
|
|
string.const "foo" (;0;)
|
|
|
|
drop
|
|
|
|
)
|
|
|
|
)
|
|
|
|
;;)---";
|