Ignore:
Timestamp:
Sep 24, 2003, 8:49:08 PM (22 years ago)
Author:
bird
Message:

More testcases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testcase/456/globalstatic.cpp

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r723 r724  
    44    virtual long GetJavaWrapper(void)
    55    {
    6         static const char *pszFunction = __FUNCTION__;
    7         return *pszFunction;
     6        static const char *pszFunctionMethod = __FUNCTION__;
     7        return *pszFunctionMethod;
    88    }
    99};
     
    1212int main()
    1313{
    14     static const char *pszFunction = __FUNCTION__;
     14    static const char *pszFunctionMain = __FUNCTION__;
    1515    foo obj;
    16     int rc = obj.GetJavaWrapper() + *pszFunction;
     16    int rc = obj.GetJavaWrapper() + *pszFunctionMain;
    1717    return rc;
    1818}
Note: See TracChangeset for help on using the changeset viewer.