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