summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/builtin.C
blob: e310165c64fc0992c497e95a8a40bd6047de1182 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// { dg-options "-w" }
// Bug: g++ overloads strlen instead of bashing the builtin version.

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

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