summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pr40900.c
blob: 278bc3702231aae947b82f3c6b7e69449a77ba21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2 -fno-optimize-sibling-calls" }  */

extern short shortv2();
short shortv1()
{
  return shortv2();
}

/* { dg-final { scan-assembler-not "lsl" } } */
/* { dg-final { scan-assembler-not "asr" } } */
/* { dg-final { scan-assembler-not "sxth" } } */