[commit: ghc] master: testsuite: Add test for #14129 (b996e12)
git at git.haskell.org
git at git.haskell.org
Tue Sep 5 11:22:00 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b996e12d2c6a838a9c6d8096142f07de5cb7fedc/ghc
>---------------------------------------------------------------
commit b996e12d2c6a838a9c6d8096142f07de5cb7fedc
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Mon Sep 4 07:59:07 2017 -0400
testsuite: Add test for #14129
It's not impossible that this will also get caught by another test given
a suitably configured compiler, but this is minimal enough that it seems
worth including.
Test Plan: Validate with `DYNAMIC_GHC_PROGRAMS=NO`
Reviewers: austin
Subscribers: rwbarton, thomie
GHC Trac Issues: #14129
Differential Revision: https://phabricator.haskell.org/D3924
>---------------------------------------------------------------
b996e12d2c6a838a9c6d8096142f07de5cb7fedc
testsuite/tests/annotations/should_compile/T14129.hs | 3 +++
testsuite/tests/annotations/should_compile/all.T | 1 +
2 files changed, 4 insertions(+)
diff --git a/testsuite/tests/annotations/should_compile/T14129.hs b/testsuite/tests/annotations/should_compile/T14129.hs
new file mode 100644
index 0000000..131a29d
--- /dev/null
+++ b/testsuite/tests/annotations/should_compile/T14129.hs
@@ -0,0 +1,3 @@
+module T14129 where
+
+{-# ANN module "KABOOM" #-}
diff --git a/testsuite/tests/annotations/should_compile/all.T b/testsuite/tests/annotations/should_compile/all.T
index b2c9a59..be81c4f 100644
--- a/testsuite/tests/annotations/should_compile/all.T
+++ b/testsuite/tests/annotations/should_compile/all.T
@@ -3,6 +3,7 @@
# program twice and use -osuf p_o (see the TH_spliceE5_prof test). For
# now, just disable the profiling ways.
test('ann01', [req_interp, omit_ways(prof_ways)], compile, ['-v0'])
+test('T14129', [req_interp, omit_ways(prof_ways)], compile, ['-v0'])
""""
Helpful things to C+P:
More information about the ghc-commits
mailing list