blob: 42699d1d7960c4f17f490897e509805d12d51f24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#if defined(A)
// Comment
extern int ax;
void fa();
#elif defined(B)
extern int bx;
void fb();
#else
extern int cx;
void fc();
#endif
int foo()
{
#if defined(A)
int a = ax;
#elif defined(B)
// Comment
int b = bx;
#else
int c = cx;
#endif
#if defined(A)
return a;
#elif defined(B)
return b;
#else
// Comment
return c;
#endif
}
|