diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-04-27 01:18:49 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-04-27 10:10:33 -0400 |
commit | 81cf52bb301592ff3d043d03eb9a0d547891a3e1 (patch) | |
tree | 52c9276526b0aadcbf85a86f300749ce861d1f46 /testsuite/tests/safeHaskell/unsafeLibs/all.T | |
parent | 5a7f0deee64f32777db8b87b056b4e9ba154093f (diff) | |
download | haskell-81cf52bb301592ff3d043d03eb9a0d547891a3e1.tar.gz |
Mark GHC.Prim.PtrEq as Unsafe
This module exports unsafe pointer equality operations,
so we accordingly mark it as Unsafe.
Fixes #21433
Diffstat (limited to 'testsuite/tests/safeHaskell/unsafeLibs/all.T')
-rw-r--r-- | testsuite/tests/safeHaskell/unsafeLibs/all.T | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/unsafeLibs/all.T b/testsuite/tests/safeHaskell/unsafeLibs/all.T index 8bcda5f402..774143e4a6 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/all.T +++ b/testsuite/tests/safeHaskell/unsafeLibs/all.T @@ -23,6 +23,7 @@ test('BadImport06', normal, compile_fail, ['']) test('BadImport07', normal, compile_fail, ['']) test('BadImport08', normal, compile_fail, ['']) test('BadImport09', normal, compile_fail, ['']) +test('T21433', normal, compile_fail, ['']) # check safe modules are marked safe test('GoodImport01', normal, compile, ['']) |