summaryrefslogtreecommitdiff
path: root/compiler/ilxGen/tests/test5.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ilxGen/tests/test5.hs')
-rw-r--r--compiler/ilxGen/tests/test5.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/ilxGen/tests/test5.hs b/compiler/ilxGen/tests/test5.hs
new file mode 100644
index 0000000000..13d6028c02
--- /dev/null
+++ b/compiler/ilxGen/tests/test5.hs
@@ -0,0 +1,5 @@
+data One a = One a
+
+choose (One x) = x
+main = putStr (choose (One "hello world\n"))
+