Commit b29901db authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add a test for #1792

parent 4a2bedfc
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
T1792_imports:
$(RM) T1792_imports.hi T1792_imports.o T1792_imports.imports
$(TEST_HC) -ddump-minimal-imports -c T1792_imports.hs
cat T1792_imports.imports
module T1792_imports (B.putStr, z, zipWith) where
import qualified Data.ByteString as B (putStr, readFile, zip, zipWith)
z = B.readFile
import qualified Data.ByteString as B ( putStr, readFile )
......@@ -122,3 +122,7 @@ test('T3262', normal, compile, [''])
test('timing001', normal, compile, [''])
test('timing002', normal, compile, [''])
test('timing003', normal, compile, [''])
test('T1792_imports', extra_clean(['T1792_imports.imports']), run_command,
['$MAKE -s --no-print-directory T1792_imports'])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment