1 // Test whether __func__ works for namespace-scope C++ functions.
3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Matt Austern <austern@apple.com>, 3 Aug 2003
9 const char* ab6(double, void*)
17 const char* s = xyzzy::ab6(2.3, (void*) 0);
20 ok = ok && s[0] == 'a';
21 ok = ok && s[1] == 'b';
22 ok = ok && s[2] == '6';
23 ok = ok && s[3] == '\0';