testsuite: Add test for #14129
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 4 Sep 2017 11:59:07 +0000 (07:59 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 5 Sep 2017 11:19:19 +0000 (07:19 -0400)
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

testsuite/tests/annotations/should_compile/T14129.hs [new file with mode: 0644]
testsuite/tests/annotations/should_compile/all.T

diff --git a/testsuite/tests/annotations/should_compile/T14129.hs b/testsuite/tests/annotations/should_compile/T14129.hs
new file mode 100644 (file)
index 0000000..131a29d
--- /dev/null
@@ -0,0 +1,3 @@
+module T14129 where
+
+{-# ANN module "KABOOM" #-}
index b2c9a59..be81c4f 100644 (file)
@@ -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: