diff options
Diffstat (limited to 'testsuite/tests/safeHaskell/safeLanguage/SafeLang12.hs')
-rw-r--r-- | testsuite/tests/safeHaskell/safeLanguage/SafeLang12.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang12.hs b/testsuite/tests/safeHaskell/safeLanguage/SafeLang12.hs new file mode 100644 index 0000000000..5817e54095 --- /dev/null +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang12.hs @@ -0,0 +1,14 @@ +{-# LANGUAGE Safe #-} +{-# LANGUAGE TemplateHaskell #-} +module Main where + +import SafeLang11_A +import SafeLang12_B + +$(mkSimpleClass ''A) + +main = do + let b = c :: A + putStrLn $ "I have a value of A :: " ++ show b + + |