tilia-0.2.0.0: corpora/vendored/cpp/expression/record-update-in-each-branch-but-the-last-out.hs
{-# LANGUAGE CPP #-}
-- An expression that an #if and an #elif each give a record update of its
-- own, and the configuration taking neither leaves alone, comes out once.
module GhcCompat.GhcRelease (ghc_7_10_1) where
ghc_7_10_1 :: GhcRelease
ghc_7_10_1 =
(ghcRelease [7, 10, 1])
#if MIN_VERSION_GLASGOW_HASKELL(8, 0, 1, 0)
{ newExtensions =
[ Extension.BinaryLiterals,
Extension.DeriveAnyClass
]
}
#elif MIN_VERSION_GLASGOW_HASKELL(7, 10, 1, 0)
{ newExtensions =
[ Extension.Opt_BinaryLiterals,
Extension.Opt_DeriveAnyClass
]
}
#endif