Mac OS X 10.4.9 for x86 Source Code gcc 实现源代码

源代码在线查看: fnname1.c

软件大小: 38649 K
上传用户: liuchuyuan
关键词: Source Code Mac for
下载地址: 免注册下载 普通下载 VIP

相关代码

				// Test whether __func__ works for namespace-scope C++ functions.								// Copyright (C) 2003 Free Software Foundation, Inc.				// Contributed by Matt Austern , 3 Aug 2003				// { dg-do run }								namespace xyzzy				{				  const char* ab6(double, void*)				  {				    return __func__;				  }				}								int main()				{				  const char* s = xyzzy::ab6(2.3, (void*) 0);				  bool ok = true;								  ok = ok && s[0] == 'a';				  ok = ok && s[1] == 'b';				  ok = ok && s[2] == '6';				  ok = ok && s[3] == '\0';								  return ok ? 0 : 1;				}							

相关资源