home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progc / fixed300.arj / BUG48.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-02  |  305 b   |  20 lines

  1. #if 0
  2. From:
  3. Subject: Protection violation under OS/2 during compilation
  4. Status: Fixed in 3.0
  5. #endif
  6.  
  7. // bug48.cpp
  8.  
  9. struct test {
  10.     t()
  11.     {
  12.         if (~testchar)  //produces Protection Violation under OS/2
  13.                    // during Compilation (ZTCPP1)    
  14.             delete testchar;
  15.     }
  16.  
  17.     char * testchar;
  18. };
  19.  
  20.