repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
mips16-attributes-3.c
blob
3b4e10777a42ebc7e2652f8a76696022d6ccb18f
1
/* We should be able to assign mips16 and nomips16 functions to a pointer. */
2
void
__attribute__
((
mips16
))
f1
(
void
);
3
void
(*
ptr1
) (
void
) =
f1
;
4
5
void
__attribute__
((
nomips16
))
f2
(
void
);
6
void
(*
ptr2
) (
void
) =
f2
;