1 /* { dg-do assemble } */
2 /* { dg-options "-mthumb -Os " }  */
3 /* { dg-require-effective-target arm_thumb1_ok } */
4 /* { dg-skip-if "do not test on armv4t" { *-*-* } { "-march=armv4t" } } */
5 /* { dg-additional-options "-march=armv5t" {target arm_arch_v5t_ok} } */
6 
7 int foo1 (int c);
8 int foo2 (int c);
9 
test(int c)10 int test (int c)
11 {
12   return (foo1 (c) || foo2 (c));
13 }
14 /* { dg-final { object-size text <= 28 } } */
15