aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/sibcall-11.c
blob: ae5877082363ea9e653d39cf7daaf681f480a93b (plain)
1
2
3
4
5
6
7
// Test for sibcall optimization with empty struct.
// { dg-options "-O2" }
// { dg-final { scan-assembler "jmp" { target i?86-*-* x86_64-*-* } } }

struct A { };
void f(struct A);
void g(struct A a) { f(a); }