Debian Codegraph @

gcc/testsuite/c-c++-common/musttail13.c

raw
1 /* { dg-do compile { target { c || c++11 } } } */
2 void f(void)
3 {
4 [[gnu::musttail]] return; /* { dg-error "cannot tail-call.*return value must be a call" } */
5 }