- Move spec_testsuite and misc_testsuite under the tests directory. - Remove some redundant tests from filetests. - Move wat tests to wat/tests.
27 lines
506 B
Plaintext
27 lines
506 B
Plaintext
(module
|
|
(func $foo
|
|
(call $foo)
|
|
)
|
|
(func (export "stack_overflow")
|
|
(call $foo)
|
|
)
|
|
)
|
|
|
|
(assert_exhaustion (invoke "stack_overflow") "call stack exhausted")
|
|
(assert_exhaustion (invoke "stack_overflow") "call stack exhausted")
|
|
|
|
(module
|
|
(func $foo
|
|
(call $bar)
|
|
)
|
|
(func $bar
|
|
(call $foo)
|
|
)
|
|
(func (export "stack_overflow")
|
|
(call $foo)
|
|
)
|
|
)
|
|
|
|
(assert_exhaustion (invoke "stack_overflow") "call stack exhausted")
|
|
(assert_exhaustion (invoke "stack_overflow") "call stack exhausted")
|