diff options
author | Ian Lynagh <igloo@earth.li> | 2010-10-08 01:02:22 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-10-08 01:02:22 +0000 |
commit | 1ecb52f4bc984bcdc02fcc1b4483f07748916eb5 (patch) | |
tree | f85d0ae60fb7aafbab7b677ef1087839404adfba /testsuite/tests/ghc-regress/programs | |
parent | 22535fa3b2f329a84f3d472f08480fa3c8195bb5 (diff) | |
download | haskell-1ecb52f4bc984bcdc02fcc1b4483f07748916eb5.tar.gz |
Remove more -fglasgow-exts uses from tests
Diffstat (limited to 'testsuite/tests/ghc-regress/programs')
7 files changed, 13 insertions, 6 deletions
diff --git a/testsuite/tests/ghc-regress/programs/cvh_unboxing/Append.lhs b/testsuite/tests/ghc-regress/programs/cvh_unboxing/Append.lhs index 84a479514e..9c96ed6553 100644 --- a/testsuite/tests/ghc-regress/programs/cvh_unboxing/Append.lhs +++ b/testsuite/tests/ghc-regress/programs/cvh_unboxing/Append.lhs @@ -1,6 +1,8 @@ \section{Versions of {\tt append}} \begin{code} +{-# LANGUAGE MagicHash #-} + module Append where import GHC.Exts diff --git a/testsuite/tests/ghc-regress/programs/cvh_unboxing/Main.lhs b/testsuite/tests/ghc-regress/programs/cvh_unboxing/Main.lhs index 0c9cc302e8..be874a5258 100644 --- a/testsuite/tests/ghc-regress/programs/cvh_unboxing/Main.lhs +++ b/testsuite/tests/ghc-regress/programs/cvh_unboxing/Main.lhs @@ -1,4 +1,6 @@ \begin{code} +{-# LANGUAGE MagicHash #-} + import GHC.Exts import Types import Append diff --git a/testsuite/tests/ghc-regress/programs/cvh_unboxing/Types.lhs b/testsuite/tests/ghc-regress/programs/cvh_unboxing/Types.lhs index c4389a5642..cba89cf45b 100644 --- a/testsuite/tests/ghc-regress/programs/cvh_unboxing/Types.lhs +++ b/testsuite/tests/ghc-regress/programs/cvh_unboxing/Types.lhs @@ -1,6 +1,8 @@ \section{IDS types} \begin{code} +{-# LANGUAGE MagicHash #-} + module Types where import GHC.Exts diff --git a/testsuite/tests/ghc-regress/programs/cvh_unboxing/test.T b/testsuite/tests/ghc-regress/programs/cvh_unboxing/test.T index 7aab88e73d..4208a7f2af 100644 --- a/testsuite/tests/ghc-regress/programs/cvh_unboxing/test.T +++ b/testsuite/tests/ghc-regress/programs/cvh_unboxing/test.T @@ -6,5 +6,5 @@ test('cvh_unboxing', 'Main.hi', 'Main.o', 'Types.hi', 'Types.o'])], multimod_compile_and_run, - ['Main', '-fglasgow-exts']) + ['Main', '']) diff --git a/testsuite/tests/ghc-regress/programs/fast2haskell/test.T b/testsuite/tests/ghc-regress/programs/fast2haskell/test.T index 39fbc8b1d4..a730ffdfe2 100644 --- a/testsuite/tests/ghc-regress/programs/fast2haskell/test.T +++ b/testsuite/tests/ghc-regress/programs/fast2haskell/test.T @@ -4,5 +4,5 @@ test('fast2haskell', extra_clean(['Main.hi', 'Main.o', 'Fast2haskell.hi', 'Fast2haskell.o'])], multimod_compile_and_run, - ['Main', '-fglasgow-exts']) + ['Main', '']) diff --git a/testsuite/tests/ghc-regress/programs/thurston-modular-arith/Main.hs b/testsuite/tests/ghc-regress/programs/thurston-modular-arith/Main.hs index 66f599af9f..608025b1e1 100644 --- a/testsuite/tests/ghc-regress/programs/thurston-modular-arith/Main.hs +++ b/testsuite/tests/ghc-regress/programs/thurston-modular-arith/Main.hs @@ -1,5 +1,5 @@ -{-# OPTIONS -fglasgow-exts #-} -{-# LANGUAGE UndecidableInstances #-} +{-# LANGUAGE UndecidableInstances, ExistentialQuantification, + ScopedTypeVariables, Rank2Types #-} -- Modular arithmetic, due to Dale Thurston diff --git a/testsuite/tests/ghc-regress/programs/thurston-modular-arith/TypeVal.hs b/testsuite/tests/ghc-regress/programs/thurston-modular-arith/TypeVal.hs index 4879149218..f1608a7dfe 100644 --- a/testsuite/tests/ghc-regress/programs/thurston-modular-arith/TypeVal.hs +++ b/testsuite/tests/ghc-regress/programs/thurston-modular-arith/TypeVal.hs @@ -1,5 +1,6 @@ -{-# OPTIONS -fglasgow-exts #-} -{-# LANGUAGE UndecidableInstances #-} +{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies, + UndecidableInstances, ExistentialQuantification, + ScopedTypeVariables #-} -- TypeVal.hs: dependent types, here we come! module TypeVal where |