June 20, 2006
// A error message is displayed,
// and then the Access Violation happens.
int foo = "foo";

// just Access Violation happens.
int bar = cast(int)cast(char*)"bar";

--
:cannot implicitly convert expression ("foo") of type char[3] to int
(then Access Violation)

DMD 0.161 on Windows 2000