Debian Codegraph @

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

raw
1 /* { dg-do compile { target { musttail && { c || c++11 } } } } */
2
3 extern int f(void);
4
5 static int g(void) {
6 [[gnu::musttail]] return f();
7 return 42;
8 }
9
10 static int g2(void) {
11 if (1) [[gnu::musttail]] return f();
12 return 42;
13 }