diff options
Diffstat (limited to 'testsuite/tests/parser/should_fail/T19928.hs')
-rw-r--r-- | testsuite/tests/parser/should_fail/T19928.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/T19928.hs b/testsuite/tests/parser/should_fail/T19928.hs new file mode 100644 index 0000000000..c6c2947577 --- /dev/null +++ b/testsuite/tests/parser/should_fail/T19928.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE UnicodeSyntax, LinearTypes #-} + +module T19928 where + +data R where + D1 :: { d1 :: Int } %1 -> R + Dp :: { dp :: Int } %p -> R + Dl :: { dl :: Int } ⊸ R |