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
Add test cases that reproduce #7241.
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
CCompilerOverride
/
foo.c
blob
30892bef07e8d4419b4972fa73db02765b5b3b10
1
2
#ifndef NOERROR1
3
#error
"NOERROR1 was not passed"
4
#endif
5
6
#ifndef NOERROR2
7
#error
"NOERROR2 was not passed"
8
#endif
9
10
#ifndef NOERROR3
11
#error
"NOERROR3 was not passed"
12
#endif
13
14
#ifndef NOERROR4
15
#error
"NOERROR4 was not passed"
16
#endif
17
18
#ifndef NOERROR5
19
#error
"NOERROR5 was not passed"
20
#endif
21
22
#ifndef NOERROR6
23
#error
"NOERROR6 was not passed"
24
#endif
25
26
int
foo
(
int
x
) {
27
return
x
+
42
;
28
}