gcc/testsuite/c-c++-common/strub-split-stack.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-fsplit-stack" } */ |
| 3 | /* { dg-require-effective-target strub } */ |
| 4 | /* { dg-require-effective-target split_stack } */ |
| 5 | |
| 6 | void __attribute__ ((__strub__)) |
| 7 | f () {} /* { dg-message "not eligible|requested" } */ |
| 8 | |
| 9 | void __attribute__ ((__strub__ ("internal"))) |
| 10 | g () {} /* { dg-message "not eligible|requested" } */ |