1 /* { dg-do compile } */
2 /* { dg-options "-mthumb -Os" } */
3 /* { dg-require-effective-target arm_thumb1_ok } */
4
5 extern void bar(int*);
foo()6 int foo()
7 {
8 int x;
9 bar(&x);
10 return x;
11 }
12
13 /* { dg-final { scan-assembler-not "sub\[\\t \]*sp,\[\\t \]*sp," } } */
14