Skip to content

Commit

Permalink
std.getopt: Add unit test for issue 15914
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Apr 12, 2016
1 parent 39a130e commit cedfb8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions std/getopt.d
Expand Up @@ -1532,3 +1532,11 @@ unittest // Issue 14724

assert(rslt.helpWanted);
}


unittest // Issue 15914
{
bool opt;
string[] args;
getopt(args, config.passThrough, 'a', &opt);
}

0 comments on commit cedfb8c

Please sign in to comment.