summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/Defer02.script
blob: 732a1ce1b1ac3cdf4abad540f83b4f7161c1b484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- Test -fwarn-type-errors
-- This test shows how each error is printed at runtime
-- Bizarrely Defer01.hs seems to be in typecheck/should_run
--  I can't see how ghci finds it!

:l 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