2 // { dg-options "-fpermissive -w" }
5 static long int n_ants;
7 { VAR_NONE, VAR_DELTA, VAR_SWITCH };
9 static enum enum_var_types option_var_n_ants;
11 adapt_parameters_next_iteration(void)
13 switch(option_var_n_ants) {
18 int trunc_n_ants = 0; // { dg-message "initialization" }
19 n_ants += trunc_n_ants;
21 case VAR_SWITCH: // { dg-error "jump" }
23 default: break; // { dg-error "jump" }