repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(cabal check) Add "No internal name clash" test
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
Macros
/
B.hs
blob
600ce17ef5e5e6f14a0295e084dab15345b772e9
1
{-# LANGUAGE CPP #-}
2
import
C
3
#
ifdef VERSION_filepath
4
#
error
"Should not see macro from library"
5
#
endif
6
#
ifdef VERSION_directory
7
#
error
"Should not see macro from executable macros-a"
8
#
endif
9
main
=
do
10
putStrLn
CURRENT_COMPONENT_ID