home *** CD-ROM | disk | FTP | other *** search
- #if 0
- From: Jim Freeman
- Subject: auto array size & GP fault during compile
- Date: 29 May 91 18:06:40
- Status: Fixed in 3.0
- #endif
-
-
- // This code causes two problems in ZTC 3.0b2. This code works
- // fine in CFRONT 2.0
- // 1) It prints an error message "size of x is unknown".
- // 2) It gives a GP fault during the compile after printing the
- // above message if the -br or -bx switch is used.
- //
- class c
- {
- static int x[]; // ERROR HERE
- };
- c::x[] = { 3, 4 };
-
-