Skip several analyzer socket tests on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / pr93457.c
blob71b3962980d2faff42dfe4a864732248701632f1
1 /* { dg-do compile } */
3 void
4 p5 (const void *);
6 void
7 s5 (const void *cl)
9 p5 (&cl[1]); /* { dg-warning "dereferencing 'void \\*' pointer" "" { target c } } */
10 /* { dg-warning "pointer of type 'void \\*' used in arithmetic" "" { target c++ } .-1 } */
11 /* { dg-error "'const void\\*' is not a pointer-to-object type" "" { target c++ } .-2 } */