summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-09-04 07:59:07 -0400
committerBen Gamari <ben@smart-cactus.org>2017-09-05 07:19:19 -0400
commitb996e12d2c6a838a9c6d8096142f07de5cb7fedc (patch)
tree2d2d494bd6bff5ff34b51c85e5685c4a14901016 /testsuite/tests/annotations
parent31281a476ded406091d0eaefc9d6f466272c985f (diff)
downloadhaskell-b996e12d2c6a838a9c6d8096142f07de5cb7fedc.tar.gz
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
Diffstat (limited to 'testsuite/tests/annotations')
-rw-r--r--testsuite/tests/annotations/should_compile/T14129.hs3
-rw-r--r--testsuite/tests/annotations/should_compile/all.T1
2 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/annotations/should_compile/T14129.hs b/testsuite/tests/annotations/should_compile/T14129.hs
new file mode 100644
index 0000000000..131a29d3d9
--- /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 b2c9a598c6..be81c4fc19 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: