Skip to content
Snippets Groups Projects
Commit 80b8a8a2 authored by Alec Theriault's avatar Alec Theriault
Browse files

Add a regression test for #1091

Previously, this input would crash Haddock.
parent 5459ca8a
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ extra-source-files:
html-test/src/*.hs
html-test/ref/*.html
hypsrc-test/src/*.hs
hypsrc-test/src/*.h
hypsrc-test/ref/src/*.html
latex-test/src/**/*.hs
latex-test/ref/**/*.tex
......
<html xmlns="http://www.w3.org/1999/xhtml"
><head
><link rel="stylesheet" type="text/css" href="style.css"
/><script type="text/javascript" src="highlight.js"
></script
></head
><body
><pre
><span class="hs-pragma"
>{-# LANGUAGE CPP #-}</span
><span
>
</span
><span id="line-2"
></span
><span class="hs-keyword"
>module</span
><span
> </span
><span class="hs-identifier"
>Bug1091</span
><span
> </span
><span class="hs-keyword"
>where</span
><span class="hs-cpp"
>
#include &quot;Include1For1091.h&quot;
</span
></pre
></body
></html
>
\ No newline at end of file
{-# LANGUAGE CPP #-}
module Bug1091 where
#include "Include1For1091.h"
/* Include1For1091.h */
foo :: Int
foo = 42
#include "Include2For1091.h"
/* Include2For1091.h */
bar :: Int
bar = 27
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment