testsuite/includes/static-assert-1.c
raw| 1 | /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION -DCE_KEEP_INCLUDES" }*/ |
| 2 | |
| 3 | int variable; |
| 4 | |
| 5 | #include "static-assert-1.h" |
| 6 | |
| 7 | int f() |
| 8 | { |
| 9 | return g(); |
| 10 | } |
| 11 | |
| 12 | /* { dg-final { scan-tree-dump "#include \"static-assert-1.h\"" } } */ |
| 13 | /* { dg-final { scan-tree-dump "int variable;" } } */ |