summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deSugar')
-rw-r--r--testsuite/tests/deSugar/should_compile/T2431.hs1
-rw-r--r--testsuite/tests/deSugar/should_run/T18151.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/T2431.hs b/testsuite/tests/deSugar/should_compile/T2431.hs
index 57c0a1f312..9c6ecf1ed3 100644
--- a/testsuite/tests/deSugar/should_compile/T2431.hs
+++ b/testsuite/tests/deSugar/should_compile/T2431.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE TypeOperators, GADTs, EmptyCase #-}
module T2431 where
diff --git a/testsuite/tests/deSugar/should_run/T18151.hs b/testsuite/tests/deSugar/should_run/T18151.hs
index b17c8a9ff0..59279d44be 100644
--- a/testsuite/tests/deSugar/should_run/T18151.hs
+++ b/testsuite/tests/deSugar/should_run/T18151.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
-- According to the Report this should reduce to (). However, in #18151 it was
-- reported that GHC bottoms.
x :: ()