summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/T1916.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/codeGen/should_compile/T1916.hs')
-rw-r--r--testsuite/tests/codeGen/should_compile/T1916.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_compile/T1916.hs b/testsuite/tests/codeGen/should_compile/T1916.hs
new file mode 100644
index 0000000000..7210aaf41c
--- /dev/null
+++ b/testsuite/tests/codeGen/should_compile/T1916.hs
@@ -0,0 +1,3 @@
+module Bug (tst) where
+tst :: Float -> Bool
+tst x = truncate x > (0::Int)