diff options
author | simonmar <unknown> | 2002-09-20 14:09:35 +0000 |
---|---|---|
committer | simonmar <unknown> | 2002-09-20 14:09:35 +0000 |
commit | 065aebc14200905d0fcfa29caae8429cfddb3866 (patch) | |
tree | 22b8d62544d670d9da15a4f34458ce5e816d39dd /testsuite/tests/ghc-regress/rename | |
parent | 0933eb0b84c9a434eac707579fa08e77d40bae4b (diff) | |
download | haskell-065aebc14200905d0fcfa29caae8429cfddb3866.tar.gz |
[project @ 2002-09-20 14:09:35 by simonmar]
Add unused import warning test (currently fails)
Diffstat (limited to 'testsuite/tests/ghc-regress/rename')
3 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/tests/ghc-regress/rename/should_compile/all.T b/testsuite/tests/ghc-regress/rename/should_compile/all.T index 41a9b2868e..f87bccb616 100644 --- a/testsuite/tests/ghc-regress/rename/should_compile/all.T +++ b/testsuite/tests/ghc-regress/rename/should_compile/all.T @@ -25,9 +25,9 @@ test('rn033', normal, compile, ['']) test('rn034', normal, compile, ['']) test('rn035', normal, compile, ['']) test('rn036', normal, compile, ['']) +test('rn037', normal, compile, ['']) # Missing: -# test('rn037', normal, compile, ['']) # test('rn038', normal, compile, ['']) test('rn039', normal, compile, ['']) diff --git a/testsuite/tests/ghc-regress/rename/should_compile/rn037.hs b/testsuite/tests/ghc-regress/rename/should_compile/rn037.hs new file mode 100644 index 0000000000..74ad8a0c43 --- /dev/null +++ b/testsuite/tests/ghc-regress/rename/should_compile/rn037.hs @@ -0,0 +1,4 @@ +{-# OPTIONS -fwarn-unused-imports #-} +-- !!! test unused import warning +import Time +main = return () :: IO () diff --git a/testsuite/tests/ghc-regress/rename/should_compile/rn037.stderr b/testsuite/tests/ghc-regress/rename/should_compile/rn037.stderr new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/testsuite/tests/ghc-regress/rename/should_compile/rn037.stderr |