Debian Codegraph @

testsuite/includes/rewrite-3.c

raw
1 /* { dg-options "-DCE_EXTRACT_FUNCTIONS=main -DCE_KEEP_INCLUDES -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 "\(\*klpe_printf\)\(\"Hello, world!\\n\"\)" } } */
12 /* { dg-final { scan-tree-dump-not "#include <stdio.h>" } } */