Sign in
chromium
/
external
/
github.com
/
kripken
/
emscripten
/
refs/heads/test-integer-limits
/
.
/
test
/
other
/
test_implicit_func.c
blob: 338f90740bb7b2353b573484d60254980519ea45 [
file
] [
edit
]
#include
<stdio.h>
int
main
()
{
printf
(
"hello %d\n"
,
strnlen
(
"waka"
,
2
));
// Implicit declaration, no header, for strnlen
int
(*
my_strnlen
)(
char
*,
...)
=
strnlen
;
printf
(
"hello %d\n"
,
my_strnlen
(
"shaka"
,
2
));
return
0
;
}