summaryrefslogtreecommitdiff
path: root/testsuite/tests/hpc/T2991LiterateModule.lhs
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-03 23:03:44 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2015-03-09 20:37:12 +0100
commitf9344f3646156a9efff2dcfb90e1d5d67fd4f5a1 (patch)
tree43839902d1ae9998751a26c3c0f8f6b28cefdbcc /testsuite/tests/hpc/T2991LiterateModule.lhs
parentd01844f145263a038235684900bc7228a799ca6d (diff)
downloadhaskell-f9344f3646156a9efff2dcfb90e1d5d67fd4f5a1.tar.gz
Fix `ghc --make -fhpc` with imported lhs modules
See Note [Don't normalise input filenames] in `compiler/main/DriverPipeline.hs`. Fixes #2991. Reviewers: austin Differential Revision: https://phabricator.haskell.org/D701
Diffstat (limited to 'testsuite/tests/hpc/T2991LiterateModule.lhs')
-rw-r--r--testsuite/tests/hpc/T2991LiterateModule.lhs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/hpc/T2991LiterateModule.lhs b/testsuite/tests/hpc/T2991LiterateModule.lhs
new file mode 100644
index 0000000000..55fc31c70f
--- /dev/null
+++ b/testsuite/tests/hpc/T2991LiterateModule.lhs
@@ -0,0 +1,4 @@
+\begin{code}
+module T2991LiterateModule where
+cover_me = 1
+\end{code}