2 // Test that built-in functions aren't recognized without a prototype.
3 // Origin: Roger Sayle Mar 20, 2002
4 // Copyright (C) 2002 Free Software Foundation.
9 return (int) ::strlen ("foo"); // { dg-error "" } undeclared
15 return (int) std::strlen ("bar"); // { dg-error "" } undeclared