1 // Test whether this builtin minimally works in G++.
2 // Origin: Kaveh Ghazi Jan 16, 2001
3 // Copyright (C) 2001 Free Software Foundation.
5 // Special g++ Options: -O2
9 extern "C" void abort (void);
10 extern "C" __SIZE_TYPE__ strlen (const char *);
17 if (strlen ("hello") != 5)
19 if (std::strlen ("hello") != 5)
21 if (::__builtin_strlen ("hello") != 5)
29 static __SIZE_TYPE__ ::strlen (const char *)