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

     1  /* This failed with type checking enabled.  */
     2  
     3  typedef enum { one, two } exp;
     4  extern exp pe;
     5  extern char pt[256];
     6  void psd (void (*f) (void *), void *p);
     7  static void rle (void *e) { }
     8  void
     9  foo (void)
    10  {
    11    psd ((void (*)(void *)) (rle), (void *) (pt + pe));
    12  }