Release coccinelle-0.1.8
[bpt/coccinelle.git] / tests / oddifdef.res
CommitLineData
708f4980
C
1void one () {
2 if (errno != ENOENT
3#ifdef ENOTDIR
4 && errno != ENOTDIR
5#endif
6 )
7 a = 5;
8
9#ifdef FOO
10 x = 0;
11#else
12 x = 0;
13#endif
14}
15
16void two() {
17#ifdef ENOTTY
18 if (errno == ENOTTY)
19 is_a_tty=0;
20 else
21#endif
22 a = 3;
23
24#ifdef FOO
25 x = 0;
26#else
27 x = 0;
28#endif
29}
30
31void three() {
32 if (x)
33 a = 3;
34#ifndef OPENSSL_NO_SSL2
35 else if (strcmp(*argv,"-ssl2") == 0)
36 meth=SSLv2_client_method();
37#endif
38
39#ifdef FOO
40 x = 0;
41#else
42 x = 0;
43#endif
44}