summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/boxy
diff options
context:
space:
mode:
authorsimonpj <simonpj@microsoft.com>2008-12-31 15:56:01 +0000
committersimonpj <simonpj@microsoft.com>2008-12-31 15:56:01 +0000
commitf793789d9e382d2ad95ab731001b1226f5db0bec (patch)
treeb55e1a4853d02241a6cf9c60114b97ba73038637 /testsuite/tests/ghc-regress/boxy
parent151d9113304bcfb14d2bc18baa5759d015de50b6 (diff)
downloadhaskell-f793789d9e382d2ad95ab731001b1226f5db0bec.tar.gz
Use -XImpredicativeTypes instead of -fglasgow-exts
Diffstat (limited to 'testsuite/tests/ghc-regress/boxy')
-rw-r--r--testsuite/tests/ghc-regress/boxy/Base1.hs2
-rw-r--r--testsuite/tests/ghc-regress/boxy/Compose.hs2
-rw-r--r--testsuite/tests/ghc-regress/boxy/PList1.hs2
-rw-r--r--testsuite/tests/ghc-regress/boxy/PList2.hs2
-rw-r--r--testsuite/tests/ghc-regress/boxy/boxy.hs2
5 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/tests/ghc-regress/boxy/Base1.hs b/testsuite/tests/ghc-regress/boxy/Base1.hs
index f024f5cc01..db9fce900d 100644
--- a/testsuite/tests/ghc-regress/boxy/Base1.hs
+++ b/testsuite/tests/ghc-regress/boxy/Base1.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -fglasgow-exts #-}
+{-# OPTIONS_GHC -XImpredicativeTypes #-}
module Base1 where
-- basic examples of impredicative instantiation of variables
diff --git a/testsuite/tests/ghc-regress/boxy/Compose.hs b/testsuite/tests/ghc-regress/boxy/Compose.hs
index e2c0cc7453..f1272261f4 100644
--- a/testsuite/tests/ghc-regress/boxy/Compose.hs
+++ b/testsuite/tests/ghc-regress/boxy/Compose.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -fglasgow-exts #-}
+{-# OPTIONS_GHC -XImpredicativeTypes -XEmptyDataDecls -XGADTs #-}
-- Trac #1118
diff --git a/testsuite/tests/ghc-regress/boxy/PList1.hs b/testsuite/tests/ghc-regress/boxy/PList1.hs
index 50123f4267..f3f1ecfe2e 100644
--- a/testsuite/tests/ghc-regress/boxy/PList1.hs
+++ b/testsuite/tests/ghc-regress/boxy/PList1.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -fglasgow-exts #-}
+{-# OPTIONS_GHC -XImpredicativeTypes #-}
module PList1 where
-- Polymorphic lists 1: requires smart-app-res
diff --git a/testsuite/tests/ghc-regress/boxy/PList2.hs b/testsuite/tests/ghc-regress/boxy/PList2.hs
index 60b22bcd43..656157f6c9 100644
--- a/testsuite/tests/ghc-regress/boxy/PList2.hs
+++ b/testsuite/tests/ghc-regress/boxy/PList2.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -fglasgow-exts #-}
+{-# OPTIONS_GHC -XImpredicativeTypes #-}
module PList2 where
-- Polymorphic lists 2: require smart-app-arg & smart-app-res: Should fail w/o smart-app-arg
diff --git a/testsuite/tests/ghc-regress/boxy/boxy.hs b/testsuite/tests/ghc-regress/boxy/boxy.hs
index 697e893618..0cd302d95e 100644
--- a/testsuite/tests/ghc-regress/boxy/boxy.hs
+++ b/testsuite/tests/ghc-regress/boxy/boxy.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -fglasgow-exts #-}
+{-# OPTIONS_GHC -XImpredicativeTypes -XScopedTypeVariables #-}
module ShouldCompile where