OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [mips/] [mips16-attributes-3.c] - Blame information for rev 321

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* { 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;
5
 
6
void __attribute__((nomips16)) f2 (void);
7
void (*ptr2) (void) = f2;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.