source: branches/libc-0.6/testcase/456/globalstatic.cpp@ 3783

Last change on this file since 3783 was 724, checked in by bird, 22 years ago

More testcases.

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 325 bytes
Line 
1class foo
2{
3public:
4 virtual long GetJavaWrapper(void)
5 {
6 static const char *pszFunctionMethod = __FUNCTION__;
7 return *pszFunctionMethod;
8 }
9};
10
11
12int main()
13{
14 static const char *pszFunctionMain = __FUNCTION__;
15 foo obj;
16 int rc = obj.GetJavaWrapper() + *pszFunctionMain;
17 return rc;
18}
19
20
Note: See TracBrowser for help on using the repository browser.