1570af302Sopenharmony_ci#include <string.h>
2570af302Sopenharmony_ci#define T(t) (t*)0;
3570af302Sopenharmony_cistatic void f()
4570af302Sopenharmony_ci{
5570af302Sopenharmony_ciT(size_t)
6570af302Sopenharmony_ci{void *x=NULL;}
7570af302Sopenharmony_ci{void*(*p)(const void*,int,size_t) = memchr;}
8570af302Sopenharmony_ci{int(*p)(const void*,const void*,size_t) = memcmp;}
9570af302Sopenharmony_ci{void*(*p)(void*restrict,const void*restrict,size_t) = memcpy;}
10570af302Sopenharmony_ci{void*(*p)(void*,const void*,size_t) = memmove;}
11570af302Sopenharmony_ci{void*(*p)(void*,int,size_t) = memset;}
12570af302Sopenharmony_ci{char*(*p)(char*restrict,const char*restrict) = strcat;}
13570af302Sopenharmony_ci{char*(*p)(const char*,int) = strchr;}
14570af302Sopenharmony_ci{int(*p)(const char*,const char*) = strcmp;}
15570af302Sopenharmony_ci{int(*p)(const char*,const char*) = strcoll;}
16570af302Sopenharmony_ci{char*(*p)(char*restrict,const char*restrict) = strcpy;}
17570af302Sopenharmony_ci{size_t(*p)(const char*,const char*) = strcspn;}
18570af302Sopenharmony_ci{char*(*p)(int) = strerror;}
19570af302Sopenharmony_ci{size_t(*p)(const char*) = strlen;}
20570af302Sopenharmony_ci{char*(*p)(char*restrict,const char*restrict,size_t) = strncat;}
21570af302Sopenharmony_ci{int(*p)(const char*,const char*,size_t) = strncmp;}
22570af302Sopenharmony_ci{char*(*p)(char*restrict,const char*restrict,size_t) = strncpy;}
23570af302Sopenharmony_ci{char*(*p)(const char*,const char*) = strpbrk;}
24570af302Sopenharmony_ci{char*(*p)(const char*,int) = strrchr;}
25570af302Sopenharmony_ci{char*(*p)(int) = strsignal;}
26570af302Sopenharmony_ci{size_t(*p)(const char*,const char*) = strspn;}
27570af302Sopenharmony_ci{char*(*p)(const char*,const char*) = strstr;}
28570af302Sopenharmony_ci{char*(*p)(char*restrict,const char*restrict) = strtok;}
29570af302Sopenharmony_ci{size_t(*p)(char*restrict,const char*restrict,size_t) = strxfrm;}
30570af302Sopenharmony_ci#ifdef _POSIX_C_SOURCE
31570af302Sopenharmony_ciT(locale_t)
32570af302Sopenharmony_ci{char*(*p)(char*restrict,const char*restrict) = stpcpy;}
33570af302Sopenharmony_ci{char*(*p)(char*restrict,const char*restrict,size_t) = stpncpy;}
34570af302Sopenharmony_ci{int(*p)(const char*,const char*,locale_t) = strcoll_l;}
35570af302Sopenharmony_ci{char*(*p)(const char*) = strdup;}
36570af302Sopenharmony_ci{char*(*p)(int,locale_t) = strerror_l;}
37570af302Sopenharmony_ci{int(*p)(int,char*,size_t) = strerror_r;}
38570af302Sopenharmony_ci{char*(*p)(const char*,size_t) = strndup;}
39570af302Sopenharmony_ci{size_t(*p)(const char*,size_t) = strnlen;}
40570af302Sopenharmony_ci{char*(*p)(char*restrict,const char*restrict,char**restrict) = strtok_r;}
41570af302Sopenharmony_ci{size_t(*p)(char*restrict,const char*restrict,size_t,locale_t) = strxfrm_l;}
42570af302Sopenharmony_ci#endif
43570af302Sopenharmony_ci#ifdef _XOPEN_SOURCE
44570af302Sopenharmony_ci{void*(*p)(void*restrict,const void*restrict,int,size_t) = memccpy;}
45570af302Sopenharmony_ci#endif
46570af302Sopenharmony_ci}
47