blob: ee8cfd3015b9ad6bc6cd1d1dbcfe1311168f3db1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
;;; TOOL: run-gen-spec-js
;;; ARGS: --prefix=%(test_dir)s/gen-spec-empty-prefix.js
(module
(func (export "foo")
call 0))
(assert_exhaustion (invoke "foo") "so exhausted")
(;; STDOUT ;;;
// A deliberately empty file for testing.
// assert_exhaustion.txt:3
let $1 = instance("\x00\x61\x73\x6d\x01\x00\x00\x00\x01\x04\x01\x60\x00\x00\x03\x02\x01\x00\x07\x07\x01\x03\x66\x6f\x6f\x00\x00\x0a\x06\x01\x04\x00\x10\x00\x0b");
// assert_exhaustion.txt:7
assert_exhaustion(() => call($1, "foo", []));
;;; STDOUT ;;)
|