diff options
Diffstat (limited to 'testsuite/tests/ghc-api/annotations/AnnotationTuple.hs')
-rw-r--r-- | testsuite/tests/ghc-api/annotations/AnnotationTuple.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-api/annotations/AnnotationTuple.hs b/testsuite/tests/ghc-api/annotations/AnnotationTuple.hs index 5df7cf72ef..73015a6bc5 100644 --- a/testsuite/tests/ghc-api/annotations/AnnotationTuple.hs +++ b/testsuite/tests/ghc-api/annotations/AnnotationTuple.hs @@ -1,5 +1,5 @@ {-# LANGUAGE TupleSections,TypeFamilies #-} -{-# LANGUAGE PatternGuards #-} +{-# LANGUAGE PatternGuards,ScopedTypeVariables #-} module AnnotationTuple (foo) where { @@ -22,6 +22,8 @@ match n , Just 6 <- Nothing , Just 7 <- Just 9 = Just 8 +; +boo :: Int = 3 } -- Note: the trailing whitespace in this file is used to check that we -- have an annotation for it. |