[commit: ghc] ghc-8.0: testsuite: Add testcase for #12355 (0f9a8a9)
git at git.haskell.org
git at git.haskell.org
Fri Oct 14 18:48:13 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/0f9a8a9096b3b236b80fe82f2570ca3865903518/ghc
>---------------------------------------------------------------
commit 0f9a8a9096b3b236b80fe82f2570ca3865903518
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Fri Jul 1 14:29:54 2016 +0200
testsuite: Add testcase for #12355
Test Plan: Validate
Reviewers: austin, osa1
Reviewed By: osa1
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2377
GHC Trac Issues: #12355
(cherry picked from commit afec447cde1f97438bbc5bf7a31000e948c721eb)
>---------------------------------------------------------------
0f9a8a9096b3b236b80fe82f2570ca3865903518
testsuite/tests/codeGen/should_compile/T12355.hs | 7 +++++++
testsuite/tests/codeGen/should_compile/all.T | 1 +
2 files changed, 8 insertions(+)
diff --git a/testsuite/tests/codeGen/should_compile/T12355.hs b/testsuite/tests/codeGen/should_compile/T12355.hs
new file mode 100644
index 0000000..9ad9ebe
--- /dev/null
+++ b/testsuite/tests/codeGen/should_compile/T12355.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE GHCForeignImportPrim, UnliftedFFITypes, MagicHash #-}
+
+module Lib where
+
+import GHC.Prim
+
+foreign import prim f1 :: Int# -> Int#
diff --git a/testsuite/tests/codeGen/should_compile/all.T b/testsuite/tests/codeGen/should_compile/all.T
index 5364c3d..d7cd6fe 100644
--- a/testsuite/tests/codeGen/should_compile/all.T
+++ b/testsuite/tests/codeGen/should_compile/all.T
@@ -33,3 +33,4 @@ test('T9964', normal, compile, ['-O'])
test('T10518', [cmm_src], compile, [''])
test('T10667', normal, compile, ['-g'])
test('T12115', normal, compile, [''])
+test('T12355', expect_broken(12355), compile, [''])
More information about the ghc-commits
mailing list