mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
10 lines
191 B
D
10 lines
191 B
D
// see also: bug 8
|
|
// EXTRA_SOURCES: imports/bug846.d
|
|
|
|
import imports.bug846;
|
|
|
|
void main()
|
|
{
|
|
auto num = removeIf( "abcdef".dup, ( char c ) { return c == 'c'; } );
|
|
assert(num == 5);
|
|
}
|