1*1f5207b7SJohn Levon extern int op(void); 2*1f5207b7SJohn Levon test(void)3*1f5207b7SJohn Levonstatic void test(void) 4*1f5207b7SJohn Levon { 5*1f5207b7SJohn Levon int i; 6*1f5207b7SJohn Levon for (i = 0; ; i++) { 7*1f5207b7SJohn Levon op(); 8*1f5207b7SJohn Levon } 9*1f5207b7SJohn Levon } 10*1f5207b7SJohn Levon 11*1f5207b7SJohn Levon /* 12*1f5207b7SJohn Levon * check-name: Loops with unused counter 13*1f5207b7SJohn Levon * check-command: sparsec -c $file -o tmp.o 14*1f5207b7SJohn Levon */ 15