summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail039.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/readFail039.hs')
-rw-r--r--testsuite/tests/parser/should_fail/readFail039.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail039.hs b/testsuite/tests/parser/should_fail/readFail039.hs
new file mode 100644
index 0000000000..c6cbdb9968
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/readFail039.hs
@@ -0,0 +1,9 @@
+
+module Foo where
+
+class C a
+instance C Int
+
+newtype Foo = Foo Int
+ deriving C
+