2 /* { dg-do compile } */
3 /* { dg-options "-fmax-errors=3" } */
5 void foo (unsigned int i
, unsigned int j
)
7 (i
) (); /* { dg-error "" } */
8 (j
) (); /* { dg-error "" } */
9 (i
+j
) (); /* { dg-error "" } */
10 (i
*j
) (); /* no error here due to -fmax-errors */
11 } /* { dg-prune-output "compilation terminated" } */