summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/leaf.c
blob: 079418930da7e416d71e592fb9e7fc6b54b1812d (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile { target rs6000-*-* } }  */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler-not "\tstwu 1,-\[0-9\]*(1)\n" } } */

int Leaf (int i)
{
  return i + 1;
}