source: branches/libc-0.6/testcase/456/classstatic.cpp@ 3880

Last change on this file since 3880 was 825, checked in by bird, 22 years ago

More debug testcases.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 216 bytes
Line 
1
2class clazz
3{
4public:
5 static char *pszPublicStatic;
6};
7
8char sz[120] = {0};
9char *clazz::pszPublicStatic = "PublicStatic";
10
11int main(void)
12{
13 clazz obj;
14
15 return obj.pszPublicStatic[0] == 'P' ? 0 : 1;
16}
Note: See TracBrowser for help on using the repository browser.