diff options
Diffstat (limited to 'testsuite/tests/module/T2267.hs')
-rw-r--r-- | testsuite/tests/module/T2267.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/module/T2267.hs b/testsuite/tests/module/T2267.hs new file mode 100644 index 0000000000..851997cd9d --- /dev/null +++ b/testsuite/tests/module/T2267.hs @@ -0,0 +1,12 @@ +{-# OPTIONS_GHC -fwarn-unused-imports -Werror #-}
+
+module T2267 where
+
+import qualified Data.ByteString as B
+import qualified Data.ByteString.UTF8 as BU
+
+toString :: B.ByteString -> String
+toString = BU.toString
+
+fromString :: String -> B.ByteString
+fromString = BU.fromString
|