Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail3150.d
blob: 5ca758c85781262293aedc621197bfa7e358ed0a [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -de
/*
TEST_OUTPUT:
---
fail_compilation/fail3150.d(10): Error: cannot cast expression `[1, 2]` of type `int[]` to `ulong`
---
*/
void
main
()
{
ulong
u
=
cast
(
ulong
)[
1
,
2
];
}