Source

gdc / gdc.test / fail_compilation / fail105.d

Full commit
1
2
3
4
//int foo = "foo";

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