| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "" } */ |
| 3 |
|
| 4 |
#if !__has_attribute (musttail) |
| 5 |
#error missing musttail attribute |
| 6 |
#endif |
| 7 |
#ifdef __cplusplus |
| 8 |
#if !__has_cpp_attribute (gnu::musttail) |
| 9 |
#error missing gnu::musttail attribute |
| 10 |
#endif |
| 11 |
#if !__has_cpp_attribute (clang::musttail) |
| 12 |
#error missing clang::musttail attribute |
| 13 |
#endif |
| 14 |
#else |
| 15 |
#if !__has_c_attribute (gnu::musttail) |
| 16 |
#error missing gnu::musttail attribute |
| 17 |
#endif |
| 18 |
#if !__has_c_attribute (clang::musttail) |
| 19 |
#error missing clang::musttail attribute |
| 20 |
#endif |
| 21 |
#endif |