Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
9f6cdd5d
Commit
9f6cdd5d
authored
Dec 29, 1999
by
simonpj
Browse files
[project @ 1999-12-29 12:12:59 by simonpj]
Add rn037
parent
7da2408f
Changes
3
Hide whitespace changes
Inline
Side-by-side
ghc/tests/rename/should_compile/Makefile
View file @
9f6cdd5d
...
...
@@ -2,10 +2,14 @@ TOP = ../..
include
$(TOP)/mk/boilerplate.mk
include
$(TOP)/mk/should_compile.mk
SRC_HC_OPTS
+=
-noC
-dcore-lint
SRC_HC_OPTS
+=
-dcore-lint
# There used to be a -noC flag, but I removed it because
# Rn037Help needs to generate an interface file, and
# if -noC is on I can't see how to. (Driver grottiness.)
rn017_HC_OPTS
=
-hi
-hi-with-exports
rn025_HC_OPTS
=
-hi
-hi-with-exports
# rn017_HC_OPTS = -hi -hi-with-exports
# rn025_HC_OPTS = -hi -hi-with-exports
# Rn037Help_HC_OPTS = -hi
include
$(TOP)/mk/target.mk
...
...
ghc/tests/rename/should_compile/Rn037Help.hs
0 → 100644
View file @
9f6cdd5d
module
Rn037Help
(
T
(
C
)
)
where
data
T
=
C
ghc/tests/rename/should_compile/rn037.hs
0 → 100644
View file @
9f6cdd5d
-- !!! Checking that you can hide a constructor
module
ShouldSucceed
where
import
Rn037Help
hiding
(
C
)
-- C is the constructor, but we should
-- still be able to hide it
f
x
=
Rn037Help
.
C
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment