1  /* { dg-options "-g" } */
       2  
       3  extern int a;
       4  extern char b;
       5  extern int foo (void);
       6  
       7  void
       8  test (void)
       9  {
      10    int c;
      11    b = foo () ? '~' : '\0';
      12    while ((c = foo ()))
      13      if (c == '7')
      14        a = 0;
      15  }