mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
13 lines
221 B
D
13 lines
221 B
D
/*
|
|
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;
|
|
}
|