diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-10-25 22:10:01 -0700 |
---|---|---|
committer | Alec Theriault <alec.theriault@gmail.com> | 2018-10-25 22:10:01 -0700 |
commit | 4e102d7e973fd64f59167b173741e9c7ff4ef94f (patch) | |
tree | aba25993becf07e5ea3f631311d541f6fd3a4280 /html-test | |
parent | 949fe2d9eda0338dde8c0d3e98d0ebe7e2876205 (diff) | |
parent | cd520e9907b9a56cae5a2e51413eef1522a37bbb (diff) |
Merge branch 'ghc-8.6' into wip/new-ocean
Diffstat (limited to 'html-test')
-rw-r--r-- | html-test/ref/Bug953.html | 146 | ||||
-rw-r--r-- | html-test/src/Bug953.hs | 17 |
2 files changed, 163 insertions, 0 deletions
diff --git a/html-test/ref/Bug953.html b/html-test/ref/Bug953.html new file mode 100644 index 00000000..40b0f6a1 --- /dev/null +++ b/html-test/ref/Bug953.html @@ -0,0 +1,146 @@ +<html xmlns="http://www.w3.org/1999/xhtml" +><head + ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" + /><title + >Bug953</title + ><link href="#" rel="stylesheet" type="text/css" title="Ocean" + /><link rel="stylesheet" type="text/css" href="#" + /><script src="haddock-bundle.min.js" async="async" type="text/javascript" + ></script + ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" + ></script + ></head + ><body + ><div id="package-header" + ><ul class="links" id="page-menu" + ><li + ><a href="#" + >Contents</a + ></li + ><li + ><a href="#" + >Index</a + ></li + ></ul + ><p class="caption empty" + ></p + ></div + ><div id="content" + ><div id="module-header" + ><table class="info" + ><tr + ><th + >Safe Haskell</th + ><td + >Safe</td + ></tr + ></table + ><p class="caption" + >Bug953</p + ></div + ><div id="synopsis" + ><details id="syn" + ><summary + >Synopsis</summary + ><ul class="details-toggle" data-details-id="syn" + ><li class="src short" + ><span class="keyword" + >data</span + > <a href="#" + >Foo</a + > = <a href="#" + >Foo'</a + ></li + ><li class="src short" + ><span class="keyword" + >data</span + > <a href="#" + >Bar</a + > = <a href="#" + >Bar'</a + ></li + ></ul + ></details + ></div + ><div id="interface" + ><h1 + >Documentation</h1 + ><div class="top" + ><p class="src" + ><span class="keyword" + >data</span + > <a id="t:Foo" class="def" + >Foo</a + > <a href="#" class="selflink" + >#</a + ></p + ><div class="doc" + ><p + >A foo</p + ><h4 class="caption details-toggle-control details-toggle" data-details-id="ch:Foo0" + >Examples</h4 + ><details id="ch:Foo0" + ><summary class="hide-when-js-enabled" + >Expand</summary + ><p + >Foo example body</p + ></details + ></div + ><div class="subs constructors" + ><p class="caption" + >Constructors</p + ><table + ><tr + ><td class="src" + ><a id="v:Foo-39-" class="def" + >Foo'</a + ></td + ><td class="doc empty" + ></td + ></tr + ></table + ></div + ></div + ><div class="top" + ><p class="src" + ><span class="keyword" + >data</span + > <a id="t:Bar" class="def" + >Bar</a + > <a href="#" class="selflink" + >#</a + ></p + ><div class="doc" + ><p + >A bar</p + ><h4 class="caption details-toggle-control details-toggle" data-details-id="ch:Bar0" + >Examples</h4 + ><details id="ch:Bar0" + ><summary class="hide-when-js-enabled" + >Expand</summary + ><p + >Bar example body</p + ></details + ></div + ><div class="subs constructors" + ><p class="caption" + >Constructors</p + ><table + ><tr + ><td class="src" + ><a id="v:Bar-39-" class="def" + >Bar'</a + ></td + ><td class="doc empty" + ></td + ></tr + ></table + ></div + ></div + ></div + ></div + ><div id="footer" + ></div + ></body + ></html +>
\ No newline at end of file diff --git a/html-test/src/Bug953.hs b/html-test/src/Bug953.hs new file mode 100644 index 00000000..63f2c45a --- /dev/null +++ b/html-test/src/Bug953.hs @@ -0,0 +1,17 @@ +module Bug953 where + +{- | A foo + +==== __Examples__ + +Foo example body +-} +data Foo = Foo' + +{- | A bar + +==== __Examples__ + +Bar example body +-} +data Bar = Bar' |