]>
Commit | Line | Data |
---|---|---|
b4c522fa IB |
1 | // REQUIRED_ARGS: -Icompilable/extra-files |
2 | // EXTRA_FILES: extra-files/c6395.d | |
3 | ||
5fee5ec3 | 4 | // https://issues.dlang.org/show_bug.cgi?id=6395 |
b4c522fa IB |
5 | |
6 | import c6395; | |
7 | ||
8 | int regex(string pattern) | |
9 | { | |
10 | return 0; | |
11 | } | |
12 | ||
13 | bool match(string r) | |
14 | { | |
15 | return true; | |
16 | } | |
17 | ||
18 | void applyNoRemoveRegex() | |
19 | { | |
20 | void scan(string[] noRemoveStr, string e) | |
21 | { | |
22 | auto a = find!((a){return match(e);})(map!regex(noRemoveStr)); | |
23 | } | |
24 | } | |
25 |