blob: 35ef352bc6dac8ace3840f907c678aeeadf94e6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
void foo(void);
void bar(void);
int test(int b)
{
void *p, **q;
if (b)
p = (void *)foo;
else
p = (void *)bar;
q = (void **)p;
if (*q == (void *)0)
return 1;
return 0;
}
|