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
/
PreProcess
/
Hsc2HsOptionsCC
/
Foo.hsc
blob
78d23168ae9d71614af7576323f373304ad66409
1
module Foo where
2
3
-- https://isocpp.org/wiki/faq/mixing-c-and-cpp
4
compiler :: String
5
#ifdef __cplusplus
6
compiler = "Is not C, is C++"
7
#else
8
compiler = "Is C, is not C++"
9
#endif