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

     1  /* Copyright (C) 2000 Free Software Foundation */
     2  
     3  /* make sure we don't get confused by various flavors of void */
     4  
     5  /* Origin:  Jakub Jelinek  <jakub@redhat.com>
     6   *          Joel Sherrill <joel.sherrill@OARcorp.com>
     7   */
     8  
     9  typedef void foo;
    10  foo bar(void);
    11  void baz(void)
    12  {
    13    bar();
    14  }
    15  
    16  void volatile f();
    17  
    18  int x()
    19  {
    20    f();
    21  }
    22