diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/T5331.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/T5331.hs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T5331.hs b/testsuite/tests/rename/should_compile/T5331.hs new file mode 100644 index 0000000000..6e92d91a6e --- /dev/null +++ b/testsuite/tests/rename/should_compile/T5331.hs @@ -0,0 +1,16 @@ +{-# LANGUAGE GADTs, ScopedTypeVariables #-} +{-# OPTIONS_GHC -Wall #-} + +module Foo where + +data T a + +data S = forall a.S1 + +data W where + W1 :: forall a. W + +f :: forall a. Int +f = 3 + + |