cranelift: move wasmtests in cranelift-wasm
Move test data used by cranelift-wasm's tests in the crate directory, to make the tests autonomous. Fixes #2910
This commit is contained in:
30
cranelift/wasm/wasmtests/br_table.wat
Normal file
30
cranelift/wasm/wasmtests/br_table.wat
Normal file
@@ -0,0 +1,30 @@
|
||||
(module
|
||||
(func (result i32)
|
||||
(block (result i32)
|
||||
(block (result i32)
|
||||
(block (result i32)
|
||||
(br_table 0 1 2 3 (i32.const 42) (i32.const 0))
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(func (result i32)
|
||||
(block (result i32)
|
||||
(block (result i32)
|
||||
(block (result i32)
|
||||
(br_table 3 2 1 0 (i32.const 42) (i32.const 0))
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(func (result i32)
|
||||
(block (result i32)
|
||||
(br_table 0 0 1 1 (i32.const 42) (i32.const 0))
|
||||
)
|
||||
)
|
||||
(func (result i32)
|
||||
(block (result i32)
|
||||
(br_table 1 1 0 0 (i32.const 42) (i32.const 0))
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user