Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / cpp / 20000529-1.c
blob6343a81feb7e235019d978b33d717c0b159bb5cc
1 /* Regression test for bug with macro expansion on #if lines -
2 exposed by glibc. */
3 /* { dg-do compile } */
5 # define SHLIB_COMPAT(lib, introduced, obsoleted) \
6 (!(ABI_##lib##_##obsoleted - 0) \
7 || ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0)))
9 #if 0
10 bad
11 #elif SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
12 int
13 #endif