summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/programs/thurston-modular-arith
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-06-16 14:31:13 +0000
committerIan Lynagh <igloo@earth.li>2008-06-16 14:31:13 +0000
commit46ec5a8eaf994fd19545bbbe23ba6e7c36bfd61e (patch)
treeeb3e307b8f685404e10be27b3dce496a43a82954 /testsuite/tests/ghc-regress/programs/thurston-modular-arith
parentee414c0df8f51394a8c24ea0dbbcdf25658fa973 (diff)
downloadhaskell-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.hs3
-rw-r--r--testsuite/tests/ghc-regress/programs/thurston-modular-arith/TypeVal.hs3
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