blob: fec82827887c9fd0983d67d4346f5b4de7ddcf64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-- Test #4042
module T4042 where
f :: A -> A
f
-- The above line is a naked Template Haskell splice
-- When compiling without -XTemplateHaskell we don't
-- want a confusing error message saying "A is not in scope"
data A = A
|