1 /* Check for unnecessary register moves.  */
2 /* { dg-options "-mthumb -Os" }  */
3 /* { dg-require-effective-target arm_thumb1_ok } */
4 
f(int x)5 int f(int x)
6 {
7   return x*42;
8 }
9 
10 /* { dg-final { scan-assembler-not "mov\[\\t \]*r0," } } */
11 
12