Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/deb616984dcb2e65b3be26bece15edf804190119 >--------------------------------------------------------------- commit deb616984dcb2e65b3be26bece15edf804190119 Author: Simon Peyton Jones <[email protected]> Date: Tue Sep 18 09:59:50 2012 +0100 Add a test directory for ext-core, and test Trac #7239 We have basically no tests for External Core, which needs love. >--------------------------------------------------------------- tests/{polykinds => ext-core}/Makefile | 0 tests/ext-core/T7239.hs | 8 ++++++++ tests/ext-core/all.T | 3 +++ 3 files changed, 11 insertions(+), 0 deletions(-) diff --git a/tests/polykinds/Makefile b/tests/ext-core/Makefile similarity index 100% copy from tests/polykinds/Makefile copy to tests/ext-core/Makefile diff --git a/tests/ext-core/T7239.hs b/tests/ext-core/T7239.hs new file mode 100644 index 0000000..4331b9e --- /dev/null +++ b/tests/ext-core/T7239.hs @@ -0,0 +1,8 @@ +module Main where + +data T a = T a + +type C = T Int +type CL = [C] + +main = print 1 diff --git a/tests/ext-core/all.T b/tests/ext-core/all.T new file mode 100644 index 0000000..a1fbb8b --- /dev/null +++ b/tests/ext-core/all.T @@ -0,0 +1,3 @@ +setTestOpts(only_compiler_types(['ghc'])) + +test('T7239', normal, compile, ['-fext-core']) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
