blob: 221b5519ef73a304f6fef0d0854fb0bbf7182c4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-- Test Trac #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 messsage saying "A is not in scope"
data A = A
|