[commit: testsuite] master: Test Trac #7827 (fa9a2e6)

Simon Peyton Jones simonpj at microsoft.com
Tue Apr 16 17:45:50 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

https://github.com/ghc/testsuite/commit/fa9a2e67ed7080c462fa35bba10909624d7e5972

>---------------------------------------------------------------

commit fa9a2e67ed7080c462fa35bba10909624d7e5972
Author: Patrick Palka <patrick at parcs.ath.cx>
Date:   Thu Apr 11 16:26:03 2013 -0400

    Test Trac #7827

>---------------------------------------------------------------

 tests/typecheck/should_compile/T7827.hs |    5 +++++
 tests/typecheck/should_compile/all.T    |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tests/typecheck/should_compile/T7827.hs b/tests/typecheck/should_compile/T7827.hs
new file mode 100644
index 0000000..230b890
--- /dev/null
+++ b/tests/typecheck/should_compile/T7827.hs
@@ -0,0 +1,5 @@
+{-# LANGUAGE ScopedTypeVariables #-}
+module T7827 where
+
+bug :: a -> ()
+bug ((_ :: a) :: a) = ()
diff --git a/tests/typecheck/should_compile/all.T b/tests/typecheck/should_compile/all.T
index 9160781..8af6430 100644
--- a/tests/typecheck/should_compile/all.T
+++ b/tests/typecheck/should_compile/all.T
@@ -398,3 +398,4 @@ test('UnboxStrictPrimitiveFields', normal, compile, [''])
 test('T7541', normal, compile, [''])
 test('T7562', normal, compile, [''])
 test('T7641', normal, compile, [''])
+test('T7827', normal, compile, [''])





More information about the ghc-commits mailing list