URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [paste7.c] - Rev 816
Compare with Previous | Blame | View Log
/* { dg-do run } */ #define D_2 1, 2 #define C_2(X, I0, I1) X##_a = I0, X##_b = I1 #define B_2(X, I) C_2(X, I) #define A(N, X) B_##N (X, D_##N) extern void abort(void); extern void exit(int); int x_a, x_b; int main(void) { A(2, x); if (x_a != 1 || x_b != 2) abort(); exit(0); }