Skip to content

Commit

Permalink
Merge pull request #5654 from WalterBright/test15861
Browse files Browse the repository at this point in the history
Better test case for 15861 fix
  • Loading branch information
9rnsr committed Apr 13, 2016
2 parents 74ed684 + a74935a commit 72bfdf6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
15 changes: 14 additions & 1 deletion test/runnable/mars1.d
Expand Up @@ -1422,6 +1422,19 @@ void test15272()
*buckets = calloc15272(count)[0 .. count];
}

/*****************************************
* https://issues.dlang.org/show_bug.cgi?id=15861
*/

void test15861()
{
double val = 4286853117.;

(){
assert(val == 4286853117.);
}();
}

////////////////////////////////////////////////////////////////////////

int main()
Expand Down Expand Up @@ -1472,7 +1485,7 @@ int main()
test14782();
test14987();
test15272();

test15861();
printf("Success\n");
return 0;
}
10 changes: 0 additions & 10 deletions test/runnable/test15861.d

This file was deleted.

0 comments on commit 72bfdf6

Please sign in to comment.