summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/Defer02.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/Defer02.script')
-rwxr-xr-xtestsuite/tests/ghci/scripts/Defer02.script14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/Defer02.script b/testsuite/tests/ghci/scripts/Defer02.script
new file mode 100755
index 0000000000..3fc6aff5b0
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/Defer02.script
@@ -0,0 +1,14 @@
+-- Test -fwarn-type-errors
+-- This test shows how each error is printed at runtime
+:l ../../typecheck/should_run/Defer01
+t5624
+print a
+print (b B)
+print (c (C2 True))
+print (d ())
+print f
+print (h ())
+print (i ())
+print j
+print (k 2)
+l \ No newline at end of file