summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pr63210.c
blob: c3ae92801f55b19d9aede885a06c6ddaf1707349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do assemble } */
/* { dg-options "-mthumb -Os " }  */
/* { dg-require-effective-target arm_thumb1_ok } */

int foo1 (int c);
int foo2 (int c);

int test (int c)
{
  return (foo1 (c) || foo2 (c));
}
/* { dg-final { object-size text <= 28 } } */