blob: 7311c71ece168e3211e583b05e5dc6253d41f974 (
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
45
46
47
48
49
50
|
#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
}
|