1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_thumb1_ok } */
3 /* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" "-march=*" } { "-mcpu=cortex-m0plus.small-multiply" } } */
4 /* { dg-options "-mcpu=cortex-m0plus.small-multiply -mthumb -Os" } */
5 
6 int
test(int a)7 test (int a)
8 {
9   return a * 0x123456;
10 }
11 
12 /* { dg-final { scan-assembler "\[\\t \]+mul" } } */
13