Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/builtin.C

raw
1 // { dg-do assemble }
2 // { dg-options "-w" }
3 // Bug: g++ overloads strlen instead of bashing the builtin version.
4
5 extern "C" void strlen (const char *);
6
7 void f ()
8 {
9 strlen("Hi");
10 }