aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/builtin.C
blob: 0e0cc48c6918f5ab7952000c4aa3e03b1e48d082 (plain)
1
2
3
4
5
6
7
8
9
10
// Bug: g++ overloads strlen instead of bashing the builtin version.
// Special g++ Options: -w
// Build don't link:

extern "C" void strlen (const char *);

void f ()
{
  strlen("Hi");
}