summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/ghci/C.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/ghci/C.hs')
-rw-r--r--testsuite/tests/safeHaskell/ghci/C.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/ghci/C.hs b/testsuite/tests/safeHaskell/ghci/C.hs
new file mode 100644
index 0000000000..94959c7c0b
--- /dev/null
+++ b/testsuite/tests/safeHaskell/ghci/C.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE Safe #-}
+module C (a, C(), D(..)) where
+
+a :: Int
+a = 1
+
+b :: Int
+b = 2
+
+data C a = C a Int
+
+data D a = D a Int
+