mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 23:20:29 +03:00
Merge pull request #462 from blackwhale/regex-fixes
fix Issue 7300 - std.regex.ShiftOr!dchar.search is broken
This commit is contained in:
commit
84a847cbe1
5 changed files with 162 additions and 98 deletions
|
@ -1406,7 +1406,7 @@ unittest
|
|||
/// Ditto
|
||||
T move(T)(ref T src)
|
||||
{
|
||||
T result;
|
||||
T result=void;
|
||||
move(src, result);
|
||||
return result;
|
||||
}
|
||||
|
@ -8771,3 +8771,9 @@ unittest
|
|||
//writeln(b[0]);
|
||||
assert(b[0] == tuple(4.0, 2u));
|
||||
}
|
||||
|
||||
unittest//Issue 6217
|
||||
{
|
||||
auto x = map!"a"([1,2,3]);
|
||||
x = move(x);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue