[commit: ghc] wip/rae: Test #11311 in dependent/should_run/T11311 (2b9c696)
git at git.haskell.org
git at git.haskell.org
Mon Jan 11 19:56:58 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/rae
Link : http://ghc.haskell.org/trac/ghc/changeset/2b9c696af4fa960a5afa1b49f1982ba9e87ab5aa/ghc
>---------------------------------------------------------------
commit 2b9c696af4fa960a5afa1b49f1982ba9e87ab5aa
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Sat Jan 9 17:11:52 2016 -0500
Test #11311 in dependent/should_run/T11311
>---------------------------------------------------------------
2b9c696af4fa960a5afa1b49f1982ba9e87ab5aa
.../{annotations/should_compile => dependent/should_run}/Makefile | 0
testsuite/tests/dependent/should_run/T11311.hs | 8 ++++++++
testsuite/tests/dependent/should_run/all.T | 2 ++
3 files changed, 10 insertions(+)
diff --git a/testsuite/tests/annotations/should_compile/Makefile b/testsuite/tests/dependent/should_run/Makefile
similarity index 100%
copy from testsuite/tests/annotations/should_compile/Makefile
copy to testsuite/tests/dependent/should_run/Makefile
diff --git a/testsuite/tests/dependent/should_run/T11311.hs b/testsuite/tests/dependent/should_run/T11311.hs
new file mode 100644
index 0000000..88f0e45
--- /dev/null
+++ b/testsuite/tests/dependent/should_run/T11311.hs
@@ -0,0 +1,8 @@
+module T11311 where
+
+import Data.Kind
+
+foo :: ()
+foo = (id :: * -> *) undefined `seq` ()
+
+main = print foo
diff --git a/testsuite/tests/dependent/should_run/all.T b/testsuite/tests/dependent/should_run/all.T
new file mode 100755
index 0000000..e6c5a60
--- /dev/null
+++ b/testsuite/tests/dependent/should_run/all.T
@@ -0,0 +1,2 @@
+
+test('T11311', normal, compile_and_run, [''])
More information about the ghc-commits
mailing list