summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/x86_64/abi/callabi/leaf-1.c
blob: 35f8b53cac1e876c9145ff1cd8334e9bbaa9db40 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -mabi=sysv" } */

__attribute__ ((ms_abi))
int foo (void)
{
  return 0;
}

/* { dg-final { scan-assembler-not "%rsp" } } */