diff options
author | Bodigrim <andrew.lelechenko@gmail.com> | 2023-01-19 00:50:41 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-03-30 14:35:57 -0400 |
commit | d2d8251b32a3546bb4984c9bd027917883ab4969 (patch) | |
tree | 164df3825d6e64047ffc32f2b5873b52545c2316 /testsuite/tests/simplCore | |
parent | 7c7dbade771dabaf33a2f0e0675e26865a213968 (diff) | |
download | haskell-d2d8251b32a3546bb4984c9bd027917883ab4969.tar.gz |
Fix tests
Diffstat (limited to 'testsuite/tests/simplCore')
7 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/simplCore/should_compile/T14779b.hs b/testsuite/tests/simplCore/should_compile/T14779b.hs index b3f0ec266b..934edc7684 100644 --- a/testsuite/tests/simplCore/should_compile/T14779b.hs +++ b/testsuite/tests/simplCore/should_compile/T14779b.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -g -O #-} +{-# OPTIONS_GHC -Wno-x-partial #-} -- This used to fail with: -- -- *** Core Lint errors : in result of Simplifier *** diff --git a/testsuite/tests/simplCore/should_compile/T17722B.hs b/testsuite/tests/simplCore/should_compile/T17722B.hs index ffcf5c9203..dab3481a20 100644 --- a/testsuite/tests/simplCore/should_compile/T17722B.hs +++ b/testsuite/tests/simplCore/should_compile/T17722B.hs @@ -1,5 +1,6 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE OverloadedStrings #-} +{-# OPTIONS_GHC -Wno-x-partial #-} module T17722B (setHelper) where diff --git a/testsuite/tests/simplCore/should_compile/T22347.hs b/testsuite/tests/simplCore/should_compile/T22347.hs index 727eedf8db..c0baabe52c 100644 --- a/testsuite/tests/simplCore/should_compile/T22347.hs +++ b/testsuite/tests/simplCore/should_compile/T22347.hs @@ -1,4 +1,5 @@ {-# LANGUAGE ScopedTypeVariables #-} +{-# OPTIONS_GHC -Wno-x-partial #-} module M where import Control.Monad.ST diff --git a/testsuite/tests/simplCore/should_compile/T22347a.hs b/testsuite/tests/simplCore/should_compile/T22347a.hs index 727eedf8db..c0baabe52c 100644 --- a/testsuite/tests/simplCore/should_compile/T22347a.hs +++ b/testsuite/tests/simplCore/should_compile/T22347a.hs @@ -1,4 +1,5 @@ {-# LANGUAGE ScopedTypeVariables #-} +{-# OPTIONS_GHC -Wno-x-partial #-} module M where import Control.Monad.ST diff --git a/testsuite/tests/simplCore/should_compile/simpl007.hs b/testsuite/tests/simplCore/should_compile/simpl007.hs index 96c6f882e8..21c5ae67bc 100644 --- a/testsuite/tests/simplCore/should_compile/simpl007.hs +++ b/testsuite/tests/simplCore/should_compile/simpl007.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-warn-redundant-constraints #-} +{-# OPTIONS_GHC -Wno-x-partial #-} {-# LANGUAGE UndecidableInstances, ExistentialQuantification, FlexibleInstances #-} diff --git a/testsuite/tests/simplCore/should_compile/strict-float.hs b/testsuite/tests/simplCore/should_compile/strict-float.hs index 77954b76bb..2e2ed944f1 100644 --- a/testsuite/tests/simplCore/should_compile/strict-float.hs +++ b/testsuite/tests/simplCore/should_compile/strict-float.hs @@ -1,6 +1,7 @@ -- Test from Kirsten Chevalier -- Tests the "strict bindings getting floated to top" bug in the floater +{-# OPTIONS_GHC -Wno-x-partial #-} module B (bernoulli) where diff --git a/testsuite/tests/simplCore/should_run/T2486.hs b/testsuite/tests/simplCore/should_run/T2486.hs index a6d5112d7b..04b9b0fecd 100644 --- a/testsuite/tests/simplCore/should_run/T2486.hs +++ b/testsuite/tests/simplCore/should_run/T2486.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -O -ddump-rules #-} +{-# OPTIONS_GHC -Wno-x-partial #-} -- #2486 -- |