diff options
Diffstat (limited to 'test/importedSignCast.fromasm.clamp')
-rw-r--r-- | test/importedSignCast.fromasm.clamp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/importedSignCast.fromasm.clamp b/test/importedSignCast.fromasm.clamp new file mode 100644 index 000000000..3df5f661d --- /dev/null +++ b/test/importedSignCast.fromasm.clamp @@ -0,0 +1,18 @@ +(module + (type $FUNCSIG$ii (func (param i32) (result i32))) + (import "env" "_emscripten_glIsTexture" (func $gm (param i32) (result i32))) + (import "env" "memory" (memory $0 256 256)) + (import "env" "table" (table 1 1 anyfunc)) + (import "env" "memoryBase" (global $memoryBase i32)) + (import "env" "tableBase" (global $tableBase i32)) + (elem (get_global $tableBase) $gm) + (data (get_global $memoryBase) "importedSignCast.asm.js") + (export "func" (func $func)) + (func $func + (drop + (call $gm + (i32.const 0) + ) + ) + ) +) |