testsuite: Skip analyzer tests on AIX.
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / callbacks-3.c
blob5f12c2a28d37e083fdc3a2b3083dcf1dd3c5faf7
1 #include "analyzer-decls.h"
3 typedef __SIZE_TYPE__ size_t;
4 typedef int (*__compar_fn_t)(const void *, const void *);
5 extern void qsort(void *__base, size_t __nmemb, size_t __size,
6 __compar_fn_t __compar)
7 __attribute__((__nonnull__(1, 4)));
9 static int
10 test_1_callback (const void *p1, const void *p2)
12 __analyzer_dump_path (); /* { dg-message "here" } */
13 return 0;
16 void test_1_caller (int *arr, size_t n)
18 qsort (arr, n, sizeof (int), test_1_callback);