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
/
valdiag
/
tests
/
pointers.c
blob
16d71b138a91e64b1e29a358a338eb38d20a10aa
1
2
#ifdef TEST0
3
4
typedef
void
(*
fptr1_t
)(
void
);
5
typedef
void
(*
fptr2_t
)(
int
);
6
7
fptr1_t fptr1
;
8
fptr2_t fptr2
;
9
10
void
*
vp
=
0
;
11
12
void
testPtr
(
void
)
13
{
14
fptr1
=
vp
;
/* WARNING */
15
fptr2
=
fptr1
;
/* IGNORE(GCC) */
16
vp
=
fptr1
;
/* WARNING */
17
fptr1
= (
void
*)
0
;
18
}
19
20
#endif
21