1 2 3 4 5 6 7 8 9 10
/* { dg-do compile } */ int foo (char c, int i) { int s = 0; while (i--) s += c; return s; }