www.digitalmars.com         C & C++   DMDScript  

D - Bug/oversight

reply Dan Liebgold <Dan_member pathlink.com> writes:
So casting an integer to a struct doesn't work, but it also gives an assertion
(line 166 in file constfold.c) instead of an error message. This code

struct ENTRY {}

const ENTRY test = (ENTRY)0;

int main (char argv[][]) {
return -1;

Feb 23 2003
parent "Walter" <walter digitalmars.com> writes:
Thanks, I'll take care of it. -Walter
Feb 24 2003