summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/should_run/T14955.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/perf/should_run/T14955.hs')
-rw-r--r--testsuite/tests/perf/should_run/T14955.hs20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/tests/perf/should_run/T14955.hs b/testsuite/tests/perf/should_run/T14955.hs
new file mode 100644
index 0000000000..d1b2206ba7
--- /dev/null
+++ b/testsuite/tests/perf/should_run/T14955.hs
@@ -0,0 +1,20 @@
+module Main where
+
+import T14955a
+
+--test1 :: [Bool] -> Bool
+--test1 = ors
+
+--test2 :: [Bool] -> Bool
+--test2 = dors boolDict
+
+--test2a :: [Bool] -> Bool
+--test2a xs = dors boolDict xs
+
+test3 :: [Bool] -> Bool
+test3 xs = pors xs
+
+--test4 :: [Bool] -> Bool
+--test4 xs = porsProxy xs
+
+main = print (test3 (replicate 1000000 False))