Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gcc.target
/
mips
/
mips16-attributes-3.c
blob: 747450390568cd617ce90627ce4aa738c1141b3e [
file
] [
log
] [
blame
]
/* { dg-options "(-mips16)" } */
/* We should be able to assign mips16 and nomips16 functions to a pointer. */
void
__attribute__
((
mips16
))
f1
(
void
);
void
(*
ptr1
)
(
void
)
=
f1
;
void
__attribute__
((
nomips16
))
f2
(
void
);
void
(*
ptr2
)
(
void
)
=
f2
;