summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T10083a.hs
diff options
context:
space:
mode:
authorAlejandro Serrano <trupill@gmail.com>2015-07-27 17:05:10 +0200
committerAlejandro Serrano <trupill@gmail.com>2015-07-27 17:05:10 +0200
commita87bb2b35a9af784de688fe50cc2daea3090f5de (patch)
treed240e225f7a0754f58302f25f79cecb409981775 /testsuite/tests/simplCore/should_compile/T10083a.hs
parent6b05f0c574a5067cbd6db5909e34d66c3512aa8f (diff)
parent474d4ccc6e4a3bea93be16cb7daef6ffcdf9b663 (diff)
downloadhaskell-a87bb2b35a9af784de688fe50cc2daea3090f5de.tar.gz
Merge remote-tracking branch 'origin/master' into wip/impredicativity
Conflicts: compiler/typecheck/Inst.hs compiler/typecheck/TcBinds.hs compiler/typecheck/TcExpr.hs compiler/typecheck/TcRnTypes.hs compiler/types/Unify.hs
Diffstat (limited to 'testsuite/tests/simplCore/should_compile/T10083a.hs')
-rw-r--r--testsuite/tests/simplCore/should_compile/T10083a.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/simplCore/should_compile/T10083a.hs b/testsuite/tests/simplCore/should_compile/T10083a.hs
new file mode 100644
index 0000000000..f4fd782a99
--- /dev/null
+++ b/testsuite/tests/simplCore/should_compile/T10083a.hs
@@ -0,0 +1,4 @@
+module T10083a where
+ import {-# SOURCE #-} T10083
+ data SR = MkSR RSR
+ eqSR (MkSR r1) (MkSR r2) = eqRSR r1 r2