aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-10-02 14:07:53 +0200
committerTom Smeding <tom@tomsmeding.com>2025-10-02 14:07:53 +0200
commitef72e54cf6bcee7124058364fea15b4d1bd62cd7 (patch)
tree90981bbae6b4be2cc075c65c792a560c44b3b05b /test
parent22a3d9c5cbafb7a633f2f802af884d042718e78d (diff)
Compatibility with GHC 9.6
Diffstat (limited to 'test')
-rw-r--r--test/Gen.hs1
-rw-r--r--test/Tests/C.hs3
2 files changed, 3 insertions, 1 deletions
diff --git a/test/Gen.hs b/test/Gen.hs
index 044de14..e665af6 100644
--- a/test/Gen.hs
+++ b/test/Gen.hs
@@ -4,7 +4,6 @@
{-# LANGUAGE NumericUnderscores #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
-{-# LANGUAGE TypeAbstractions #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fplugin GHC.TypeLits.Normalise #-}
diff --git a/test/Tests/C.hs b/test/Tests/C.hs
index 9567393..11c2ef1 100644
--- a/test/Tests/C.hs
+++ b/test/Tests/C.hs
@@ -1,9 +1,12 @@
+{-# LANGUAGE CPP #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE ImportQualifiedPost #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
+#if MIN_VERSION_GLASGOW_HASKELL(9,8,0,0)
{-# LANGUAGE TypeAbstractions #-}
+#endif
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeOperators #-}
-- {-# OPTIONS_GHC -fplugin GHC.TypeLits.Normalise #-}