diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn051.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/rn051.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn051.hs b/testsuite/tests/rename/should_compile/rn051.hs new file mode 100644 index 0000000000..ee5b53ee8e --- /dev/null +++ b/testsuite/tests/rename/should_compile/rn051.hs @@ -0,0 +1,13 @@ +{-# OPTIONS -XNoImplicitPrelude #-} + +-- This one crashed GHC 6.6 in lookupDeprec +-- See Trac #1128 +-- and Note [Used names with interface not loaded] +-- in RnNames + +module ShouldCompile where + +import Prelude + +foo :: Int -> Float +foo x = 3.0 |