You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
336 B

#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
}