summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/Defer02.script
blob: 3ff0bee911aa981a3ead808a1856afc7d2fa3f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Test -fwarn-type-errors
-- This test shows how each error is printed at runtime
: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