mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
16 lines
516 B
D
16 lines
516 B
D
/*
|
|
REQUIRED_ARGS: -o-
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail20040.d(13): Error: no property `joiner` for type `string[]`, perhaps `import std.algorithm;` is needed?
|
|
fail_compilation/fail20040.d(14): Error: no property `split` for type `string[]`, perhaps `import std.array;` is needed?
|
|
fail_compilation/fail20040.d(15): Error: no property `startsWith` for type `string[]`, perhaps `import std.algorithm;` is needed?
|
|
---
|
|
*/
|
|
void main()
|
|
{
|
|
auto x = ["a","b","c"];
|
|
x.joiner();
|
|
x.split();
|
|
x.startsWith;
|
|
}
|