[commit: ghc] wip/T14373: WIP: test (089aef2)

git at git.haskell.org git at git.haskell.org
Sat Dec 16 13:48:29 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T14373
Link       : http://ghc.haskell.org/trac/ghc/changeset/089aef2d8aeb0d606258ea743465a320811cd5e0/ghc

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

commit 089aef2d8aeb0d606258ea743465a320811cd5e0
Author: Gabor Greif <ggreif at gmail.com>
Date:   Sat Dec 16 14:47:59 2017 +0100

    WIP: test


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

089aef2d8aeb0d606258ea743465a320811cd5e0
 testsuite/tests/codeGen/should_compile/T14373.hs | 7 +++++++
 testsuite/tests/codeGen/should_compile/all.T     | 1 +
 2 files changed, 8 insertions(+)

diff --git a/testsuite/tests/codeGen/should_compile/T14373.hs b/testsuite/tests/codeGen/should_compile/T14373.hs
new file mode 100644
index 0000000..a1c42dd
--- /dev/null
+++ b/testsuite/tests/codeGen/should_compile/T14373.hs
@@ -0,0 +1,7 @@
+module T14373 where
+
+data BigFam = A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P deriving Enum
+
+{-# NOINLINE lateSwitch #-}
+
+lateSwitch P = "Cool"
diff --git a/testsuite/tests/codeGen/should_compile/all.T b/testsuite/tests/codeGen/should_compile/all.T
index 6ae4e1c..350b662 100644
--- a/testsuite/tests/codeGen/should_compile/all.T
+++ b/testsuite/tests/codeGen/should_compile/all.T
@@ -35,3 +35,4 @@ test('T10667', [ when((arch('powerpc64') or arch('powerpc64le')),
      compile, ['-g'])
 test('T12115', normal, compile, [''])
 test('T12355', normal, compile, [''])
+test('T14373', normal, compile, [''])



More information about the ghc-commits mailing list