diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/T19966.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/T19966.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T19966.hs b/testsuite/tests/rename/should_compile/T19966.hs new file mode 100644 index 0000000000..884b14d46e --- /dev/null +++ b/testsuite/tests/rename/should_compile/T19966.hs @@ -0,0 +1,7 @@ +module T19966 where + +-- I is out of scope, so out-of-scope is a warning. +x = I + +-- IO is out of scope, so out-of-scope should be a warning, but fails. +y = IO |