Debian Codegraph @

testsuite/small/typeof-1.c

raw
1 /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION" }*/
2 void *malloc(unsigned long);
3 __typeof(malloc)* malloc_ptr;
4
5 void *f(void)
6 {
7 return malloc_ptr;
8 }
9
10 /* { dg-final { scan-tree-dump "__typeof\(malloc\)\* malloc_ptr;" } } */
11 /* { dg-final { scan-tree-dump "void \*malloc\(unsigned long\);" } } */
12 /* { dg-final { scan-tree-dump "void \*f\(void\)" } } */