1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target arm_dsp } */
4 
5 int
foo(int a,short b,short c)6 foo (int a, short b, short c)
7 {
8      int bc = b * c;
9         return a + (short)bc;
10 }
11 
12 /* { dg-final { scan-assembler "\tmul\t" } } */
13