Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail105.d
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"
;