gcc/testsuite/c-c++-common/torture/strub-callable1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-fstrub=strict" } */ |
| 3 | /* { dg-require-effective-target strub } */ |
| 4 | |
| 5 | /* Check that strub and non-strub functions can be called from non-strub |
| 6 | contexts, and that strub and callable functions can be called from strub |
| 7 | contexts. */ |
| 8 | |
| 9 | #define OMIT_IMPERMISSIBLE_CALLS 1 |
| 10 | #include "strub-callable2.c" |