| 1 |
/* |
| 2 |
REQUIRED_ARGS: -o- |
| 3 |
TEST_OUTPUT: |
| 4 |
--- |
| 5 |
fail_compilation/fail20040.d(13): Error: no property `joiner` for type `string[]`, perhaps `import std.algorithm;` is needed? |
| 6 |
fail_compilation/fail20040.d(14): Error: no property `split` for type `string[]`, perhaps `import std.array;` is needed? |
| 7 |
fail_compilation/fail20040.d(15): Error: no property `startsWith` for type `string[]`, perhaps `import std.algorithm;` is needed? |
| 8 |
--- |
| 9 |
*/ |
| 10 |
void main() |
| 11 |
{ |
| 12 |
auto x = ["a","b","c"]; |
| 13 |
x.joiner(); |
| 14 |
x.split(); |
| 15 |
x.startsWith; |
| 16 |
} |