Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33724.c
blob7e8eb5ddd070ad58ae76c6878bb44e943205fd29
1 /* { dg-do compile } */
3 /* We ICEd with type-checking enabled. */
5 struct xt_entry_target {
6 char name[1];
7 };
8 struct ipt_entry {
9 unsigned char elems[1];
11 void match_different(const unsigned char *);
12 int dump_entry(struct xt_entry_target *t)
14 return __builtin_strcmp (t->name, "");
16 void is_same(const struct ipt_entry *a)
18 match_different(a->elems);