Mercurial > projects > ldc
view tests/mini/norun_debug3.d @ 1574:72f00d740665
Fix bug #356. Our sorting function was wrong if a value was between two NULL pointers.
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Sat, 22 Aug 2009 11:45:20 +0200 |
parents | 925779c19395 |
children |
line wrap: on
line source
module mini.norun_debug3; void main() { int i = 42; int* ip = &i; int* fail = cast(int*) 1; *fail = 0; }