modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr41679.c (about)

     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  }