diff options
| author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2022-03-30 21:11:54 +0200 |
|---|---|---|
| committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-04-01 11:14:08 +0100 |
| commit | f8f152e7089af9a5434408e17ff071999d381ee1 (patch) | |
| tree | d00356e813c0fd95dbf81b796798f35fbe46e32a /testsuite/tests/unboxedsums | |
| parent | 691508d87ec089e46524461a5c6ec59b1c17be4c (diff) | |
| download | haskell-f8f152e7089af9a5434408e17ff071999d381ee1.tar.gz | |
Change GHC.Prim to GHC.Exts in docs and tests
Users are supposed to import GHC.Exts rather than GHC.Prim.
Part of #18749.
Diffstat (limited to 'testsuite/tests/unboxedsums')
| -rw-r--r-- | testsuite/tests/unboxedsums/unboxedsums1.hs | 2 | ||||
| -rw-r--r-- | testsuite/tests/unboxedsums/unboxedsums12.hs | 2 | ||||
| -rw-r--r-- | testsuite/tests/unboxedsums/unboxedsums2.hs | 2 | ||||
| -rw-r--r-- | testsuite/tests/unboxedsums/unboxedsums3.hs | 2 | ||||
| -rw-r--r-- | testsuite/tests/unboxedsums/unboxedsums6.hs | 2 | ||||
| -rw-r--r-- | testsuite/tests/unboxedsums/unboxedsums7.hs | 2 | ||||
| -rw-r--r-- | testsuite/tests/unboxedsums/unboxedsums8.hs | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/unboxedsums/unboxedsums1.hs b/testsuite/tests/unboxedsums/unboxedsums1.hs index 42a04ae94e..78d35b7170 100644 --- a/testsuite/tests/unboxedsums/unboxedsums1.hs +++ b/testsuite/tests/unboxedsums/unboxedsums1.hs @@ -2,7 +2,7 @@ module Main where -import GHC.Prim +import GHC.Exts import GHC.Types import System.Mem (performMajorGC) diff --git a/testsuite/tests/unboxedsums/unboxedsums12.hs b/testsuite/tests/unboxedsums/unboxedsums12.hs index 93f1793e8a..a9ae2efa5f 100644 --- a/testsuite/tests/unboxedsums/unboxedsums12.hs +++ b/testsuite/tests/unboxedsums/unboxedsums12.hs @@ -2,7 +2,7 @@ module Lib where -import GHC.Prim +import GHC.Exts data B = B1 Int# Int# Int# Int# Int# | B2 Float# diff --git a/testsuite/tests/unboxedsums/unboxedsums2.hs b/testsuite/tests/unboxedsums/unboxedsums2.hs index 115415f7c6..ae05b5c386 100644 --- a/testsuite/tests/unboxedsums/unboxedsums2.hs +++ b/testsuite/tests/unboxedsums/unboxedsums2.hs @@ -2,7 +2,7 @@ module Main where -import GHC.Prim +import GHC.Exts import GHC.Types -- Code generator used to fail with illegal instruction errors when Float# is diff --git a/testsuite/tests/unboxedsums/unboxedsums3.hs b/testsuite/tests/unboxedsums/unboxedsums3.hs index add8aa73df..096e0a70f1 100644 --- a/testsuite/tests/unboxedsums/unboxedsums3.hs +++ b/testsuite/tests/unboxedsums/unboxedsums3.hs @@ -2,7 +2,7 @@ module Main where -import GHC.Prim +import GHC.Exts import GHC.Types import Data.Void (Void) diff --git a/testsuite/tests/unboxedsums/unboxedsums6.hs b/testsuite/tests/unboxedsums/unboxedsums6.hs index 767366d4d5..78c9f39350 100644 --- a/testsuite/tests/unboxedsums/unboxedsums6.hs +++ b/testsuite/tests/unboxedsums/unboxedsums6.hs @@ -4,7 +4,7 @@ module Main where -import GHC.Prim +import GHC.Exts import GHC.Types import System.Mem (performMajorGC) diff --git a/testsuite/tests/unboxedsums/unboxedsums7.hs b/testsuite/tests/unboxedsums/unboxedsums7.hs index d64dabb13a..901ba4004d 100644 --- a/testsuite/tests/unboxedsums/unboxedsums7.hs +++ b/testsuite/tests/unboxedsums/unboxedsums7.hs @@ -2,7 +2,7 @@ module Main where -import GHC.Prim +import GHC.Exts import GHC.Types type Either1 a b c = (# a | (# b, c #) #) diff --git a/testsuite/tests/unboxedsums/unboxedsums8.hs b/testsuite/tests/unboxedsums/unboxedsums8.hs index 07ef122b69..8a7344c950 100644 --- a/testsuite/tests/unboxedsums/unboxedsums8.hs +++ b/testsuite/tests/unboxedsums/unboxedsums8.hs @@ -2,7 +2,7 @@ module Main where -import GHC.Prim +import GHC.Exts import GHC.Types type Sum1 = (# (# Int#, Int #) | (# Int#, Int# #) | (# Int, Int# #) #) |
