| View previous topic :: View next topic |
| Author |
Message |
Fraser Ross Guest
|
Posted: Fri Jun 27, 2003 1:50 pm Post subject: language compliance test |
|
|
Does this compile with any compilers? I am looking for criticism of the
code.
enum dummy_name { VALUE=100 } const value=VALUE;
In a different translation unit:
extern enum dummy_name const value;
Also does this syntax compile?:
enum const dummy_name { VALUE=100 } value=VALUE;
Fraser.
|
|
| Back to top |
|
 |
Fraser Ross Guest
|
Posted: Fri Jun 27, 2003 1:52 pm Post subject: Re: language compliance test |
|
|
| Quote: | Does this compile with any compilers? I am looking for criticism of the
code.
|
Oops. Missed the word NOT.
Fraser.
|
|
| Back to top |
|
 |
John Harrison Guest
|
|
| Back to top |
|
 |
|