diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc170.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc170.hs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc170.hs b/testsuite/tests/typecheck/should_compile/tc170.hs new file mode 100644 index 0000000000..9e649b307b --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/tc170.hs @@ -0,0 +1,16 @@ +-- This test killed GHC 6.0.2 when it read the interface file for +-- Tc170_Aux, because there was a +-- forall a. (# ... #) +-- in the default method for 'position' +-- +-- NB: only fails when compiled in batch mode. In --make mode, GHC +-- doesn't read the interface file, so all is well. + +module ShouldCompile where + +import Tc170_Aux + +data Bitmap = Bitmap + +instance Dimensions Bitmap where + frame = error "urk"
\ No newline at end of file |