blob: 36e441775ff1210028ac16b97256cfd6fd624347 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-tailc-details" } */
struct A {};
void goo(void);
struct A foo(void)
{
goo();
}
/* { dg-final { scan-tree-dump-times "Found tail call" 1 "tailc"} } */