Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / localalias-2.c
blobaa67d5860093e94adca50c557ae039789921fba1
1 /* { dg-require-alias "" } */
2 extern void abort (void);
3 int test2count;
4 __attribute__ ((weak,noinline))
5 void test(void)
7 test2count++;
9 __attribute ((alias("test")))
10 static void test2(void);
12 void tt()
14 int prev = test2count;
15 /* This call must bind locally. */
16 test2();
17 if (test2count == prev)
18 abort();
19 test();