aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Warray-parameter-6.c
blob: 609dac96bb6e44a59f07bdd5946f6f0ac9e70eaf (plain)
1
2
3
4
5
6
7
8
9
/* PR c/97131 - ICE: Segmentation fault in warn_parm_ptrarray_mismatch
   { dg-do compile }
   { dg-options "-Wall" } */

struct bm { };

void ms (struct bm (*at)[1]) { }

void ms (int f1) { }          // { dg-error "conflicting types for 'ms'" }