tests: remove extra_files.py (#12223)
[ghc.git] / testsuite / tests / typecheck / should_fail / tcfail114.hs
1 -- Killed GHC 5.04.2
2
3 module ShouldFail where
4
5 class Foo a where
6 foo :: a -> ()
7
8 data Bar = Bar { bar :: () }
9
10 test :: Bar
11 test = undefined { foo = () }
12 -- The point is that foo is a class method,
13 -- but not a record selector