diff options
author | Ian Lynagh <igloo@earth.li> | 2008-06-16 14:31:13 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-06-16 14:31:13 +0000 |
commit | 46ec5a8eaf994fd19545bbbe23ba6e7c36bfd61e (patch) | |
tree | eb3e307b8f685404e10be27b3dce496a43a82954 /testsuite/tests/ghc-regress/programs/thurston-modular-arith | |
parent | ee414c0df8f51394a8c24ea0dbbcdf25658fa973 (diff) | |
download | haskell-46ec5a8eaf994fd19545bbbe23ba6e7c36bfd61e.tar.gz |
Avoid using deprecated flags in the testsuite tests
Diffstat (limited to 'testsuite/tests/ghc-regress/programs/thurston-modular-arith')
-rw-r--r-- | testsuite/tests/ghc-regress/programs/thurston-modular-arith/Main.hs | 3 | ||||
-rw-r--r-- | testsuite/tests/ghc-regress/programs/thurston-modular-arith/TypeVal.hs | 3 |
2 files changed, 4 insertions, 2 deletions
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 965dcb4d53..66f599af9f 100644 --- a/testsuite/tests/ghc-regress/programs/thurston-modular-arith/Main.hs +++ b/testsuite/tests/ghc-regress/programs/thurston-modular-arith/Main.hs @@ -1,4 +1,5 @@ -{-# OPTIONS -fglasgow-exts -fallow-undecidable-instances #-} +{-# OPTIONS -fglasgow-exts #-} +{-# LANGUAGE UndecidableInstances #-} -- 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 02ef19b018..4879149218 100644 --- a/testsuite/tests/ghc-regress/programs/thurston-modular-arith/TypeVal.hs +++ b/testsuite/tests/ghc-regress/programs/thurston-modular-arith/TypeVal.hs @@ -1,4 +1,5 @@ -{-# OPTIONS -fglasgow-exts -fallow-undecidable-instances #-} +{-# OPTIONS -fglasgow-exts #-} +{-# LANGUAGE UndecidableInstances #-} -- TypeVal.hs: dependent types, here we come! module TypeVal where |