blob: 8702cac2f12cc844e4ca857e5026dacb84bb12be [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail105.d(11): Error: cannot cast "bar" to int at compile time
---
*/
//int foo = "foo";
// just Access Violation happens.
int bar = cast(int)cast(char*)"bar";