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