summaryrefslogtreecommitdiff
path: root/testsuite/tests/wasm/should_run/control-flow/src/PJIf.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/wasm/should_run/control-flow/src/PJIf.hs')
-rw-r--r--testsuite/tests/wasm/should_run/control-flow/src/PJIf.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/wasm/should_run/control-flow/src/PJIf.hs b/testsuite/tests/wasm/should_run/control-flow/src/PJIf.hs
new file mode 100644
index 0000000000..ec0b68d635
--- /dev/null
+++ b/testsuite/tests/wasm/should_run/control-flow/src/PJIf.hs
@@ -0,0 +1,4 @@
+module PJIf where
+
+myIf True x y = x
+myIf False x y = y