mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
24 lines
378 B
D
24 lines
378 B
D
// REQUIRED_ARGS: -Icompilable/extra-files
|
|
// EXTRA_FILES: extra-files/c6395.d
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=6395
|
|
|
|
import c6395;
|
|
|
|
int regex(string pattern)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool match(string r)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void applyNoRemoveRegex()
|
|
{
|
|
void scan(string[] noRemoveStr, string e)
|
|
{
|
|
auto a = find!((a){return match(e);})(map!regex(noRemoveStr));
|
|
}
|
|
}
|