2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / mips16-attributes-3.c
blob747450390568cd617ce90627ce4aa738c1141b3e
1 /* { dg-options "(-mips16)" } */
2 /* We should be able to assign mips16 and nomips16 functions to a pointer. */
3 void __attribute__((mips16)) f1 (void);
4 void (*ptr1) (void) = f1;
6 void __attribute__((nomips16)) f2 (void);
7 void (*ptr2) (void) = f2;