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