www.digitalmars.com         C & C++   DMDScript  

D - bug with initialized char[] struct members

reply "Pavel Minayev" <evilone omen.ru> writes:
This crashes the compiler:

    struct a
    {
     char[] b = "string";
    }
Dec 25 2001
parent "Walter" <walter digitalmars.com> writes:
"Pavel Minayev" <evilone omen.ru> wrote in message
news:a0ajsp$2l6p$1 digitaldaemon.com...
 This crashes the compiler:
     struct a
     {
      char[] b = "string";
     }
You're right. Oops!
Dec 25 2001