summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests/typecheck/should_fail/tcfail029.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/tests/typecheck/should_fail/tcfail029.hs')
-rw-r--r--ghc/compiler/tests/typecheck/should_fail/tcfail029.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc/compiler/tests/typecheck/should_fail/tcfail029.hs b/ghc/compiler/tests/typecheck/should_fail/tcfail029.hs
new file mode 100644
index 0000000000..312e6fee47
--- /dev/null
+++ b/ghc/compiler/tests/typecheck/should_fail/tcfail029.hs
@@ -0,0 +1,5 @@
+--!!! tests for InstOpErr
+
+data Foo = Bar | Baz
+
+f x = x > Bar