source: trunk/testcase/456/simplecpp.cpp@ 301

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

playing around to see what does it...

  • 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: 239 bytes
Line 
1class foo
2{
3 char ch;
4public:
5#ifdef USE_INLINE
6 foo()
7 {
8 ch = 'k';
9 }
10#else
11 foo();
12#endif
13};
14
15#ifndef USE_INLINE
16foo::foo()
17{
18 ch = 'k';
19}
20#endif
21
22
23int main(int argc, char **argv)
24{
25 foo obj;
26 return 0;
27}
Note: See TracBrowser for help on using the repository browser.