Debian Codegraph @

gcc/testsuite/g++.dg/lookup/builtin7.C

raw
1 // PR c++/69657
2
3 typedef unsigned int size_t;
4 namespace std {
5 extern void *calloc(size_t, size_t);
6 }
7 using std::calloc;
8 int
9 main ()
10 {
11 char *(*pfn) = (char *(*)) calloc ;
12 (bool)&calloc;
13 (bool)&::calloc;
14 }