Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail3895.d
blob: 3879ef5d3797094b4310b1c205f87c4fe58ae648 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail3895.d(12): Error: cannot append type `double[]` to type `float[]`
---
*/
void
main
()
{
double
[]
stuff
=
[
1.
,
2.
,
3.
,
4.
,
5.
];
float
[]
otherStuff
;
otherStuff
~=
stuff
;
}