trivially fix #134

was fixed in the past
This commit is contained in:
WebFreak001 2019-11-25 16:41:12 +01:00
parent d33b878965
commit 28b32d9d77
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,15 @@
void foo()
{
string command;
version (Posix)
command ~= " 2> /dev/null 1> /dev/null";
version (Posix)
command ~= " 2> /dev/null 1> /dev/null";
unittest
{
version (Posix)
command ~= " 2> /dev/null 1> /dev/null";
}
}

11
tests/issue0134.d Normal file
View File

@ -0,0 +1,11 @@
void foo() {
string command;
version (Posix) command ~= " 2> /dev/null 1> /dev/null";
version (Posix) command ~= " 2> /dev/null 1> /dev/null";
unittest
{
version (Posix) command ~= " 2> /dev/null 1> /dev/null";
}
}

View File

@ -0,0 +1,13 @@
void foo() {
string command;
version (Posix)
command ~= " 2> /dev/null 1> /dev/null";
version (Posix)
command ~= " 2> /dev/null 1> /dev/null";
unittest {
version (Posix)
command ~= " 2> /dev/null 1> /dev/null";
}
}