summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T1954.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/T1954.hs')
-rw-r--r--testsuite/tests/rename/should_compile/T1954.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T1954.hs b/testsuite/tests/rename/should_compile/T1954.hs
new file mode 100644
index 0000000000..07bfa3a3e8
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/T1954.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# OPTIONS_GHC -Wall -Werror #-}
+module Bug(P) where
+
+newtype P a = P (IO a) deriving Monad
+