diff options
Diffstat (limited to 'testsuite/tests/roles/should_fail/Roles11.hs')
-rw-r--r-- | testsuite/tests/roles/should_fail/Roles11.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/roles/should_fail/Roles11.hs b/testsuite/tests/roles/should_fail/Roles11.hs new file mode 100644 index 0000000000..bc05477da9 --- /dev/null +++ b/testsuite/tests/roles/should_fail/Roles11.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE GADTs, RoleAnnotations #-} + +module Roles11 where + +type role T2 representational +data T2 a where + K2 :: T2 Int + |