blob: 6f920edd6e50b60b38c3359e44882d38d50e1855 (
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 message saying "A is not in scope"
data A = A
|