2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / msp430 / mul_f5_muldef.c
blobda1b1bb983cd743d39ae3884b56782a2ebfeb53c
1 /* { dg-do link } */
2 /* { dg-options "-mhwmult=f5series" } */
4 /* This program used to result in a multiple definition error:
6 libmul_f5.a(lib2hw_mul_f5.o): In function `__mulhi2_f5':
7 (.text.__mulhi2_f5+0x0): multiple definition of `__mspabi_mpyi'
8 libgcc.a(mpy.o):mpy.c:(.text.__mulhi3+0x0): first defined here */
10 #include <stdio.h>
12 int main (void)
14 printf ("%d", 430);