Debian Codegraph @

testsuite/lateext/lateext-1.c

raw
1 /* { dg-options "-DCE_EXTRACT_FUNCTIONS=main -DCE_KEEP_INCLUDES -DCE_LATE_EXTERNALIZE -DCE_EXPORT_SYMBOLS=printf" }*/
2
3 #include <stdio.h>
4
5 int main(void)
6 {
7 printf("Hello, world!\n");
8 return 0;
9 }
10
11 /* { dg-final { scan-tree-dump "#include <stdio.h>" } } */
12 /* { dg-final { scan-tree-dump "static int \(\*klpe_printf\)" } } */