aboutsummaryrefslogtreecommitdiff
path: root/tests/html-tests/tests/DeprecatedFunction.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/html-tests/tests/DeprecatedFunction.hs')
-rw-r--r--tests/html-tests/tests/DeprecatedFunction.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/html-tests/tests/DeprecatedFunction.hs b/tests/html-tests/tests/DeprecatedFunction.hs
new file mode 100644
index 00000000..55416369
--- /dev/null
+++ b/tests/html-tests/tests/DeprecatedFunction.hs
@@ -0,0 +1,6 @@
+module DeprecatedFunction where
+
+-- | some documentation foo
+foo :: Int
+foo = 23
+{-# DEPRECATED foo "use bar instead" #-}