repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git]
/
sdcc
/
support
/
regression
/
qct
/
0091-fptr.c
blob
ab6b5eff55836cc9c706e25424932087db8366db
1
2
int
3
zero
()
4
{
5
return
0
;
6
}
7
8
struct
S
9
{
10
int
(*
zerofunc
)();
11
}
s
= { &
zero
};
12
13
struct
S
*
14
anon
()
15
{
16
return
&
s
;
17
}
18
19
typedef
struct
S
* (*
fty
)();
20
21
fty
22
go
()
23
{
24
return
&
anon
;
25
}
26
27
int
28
main
()
29
{
30
return
go
()()->
zerofunc
();
31
}