aboutsummaryrefslogtreecommitdiff
path: root/tests/html-tests/tests/ModuleWithWarning.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/html-tests/tests/ModuleWithWarning.hs')
-rw-r--r--tests/html-tests/tests/ModuleWithWarning.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/html-tests/tests/ModuleWithWarning.hs b/tests/html-tests/tests/ModuleWithWarning.hs
new file mode 100644
index 00000000..2114bac6
--- /dev/null
+++ b/tests/html-tests/tests/ModuleWithWarning.hs
@@ -0,0 +1,5 @@
+-- | Documentation for "ModuleWithWarning".
+module ModuleWithWarning {-# WARNING "This is an unstable interface." #-} where
+
+foo :: Int
+foo = 23