packaging: changed asan macro check for "bad %if condition"
[platform/upstream/prelink.git] / testsuite / shuffle6lib2.c
1 #include "reloc1.h"
2 #include <stdlib.h>
3
4 #define M(i) int b##i; extern *pb##i;
5 M(0) M(1) M(2) M(3) M(4) M(5) M(6) M(7) M(8) M(9)
6 M(10) M(11) M(12) M(13) M(14) M(15) M(16) M(17) M(18) M(19)
7 #undef M
8
9 int f1 (void)
10 {
11 #define M(i) if (pb##i != &b##i) abort ();
12 M(0) M(1) M(2) M(3) M(4) M(5) M(6) M(7) M(8) M(9)
13 M(10) M(11) M(12) M(13) M(14) M(15) M(16) M(17) M(18) M(19)
14 #undef M
15   return 11;
16 }