summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pr40670.c
blob: 24786385d7e9120003b0ef5cac3afe085c491ebc (plain)
1
2
3
4
5
6
7
8
/* { dg-options "-mthumb -O2" }  */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-final { scan-assembler-not "ldr" } } */

float foo (void)
{
  return 2.0;
}