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