Mercurial > projects > ldc
view tests/mini/ptrcond.d @ 637:29dc68c949b0
Applied the FreeBSD patch from Ralith, closes ticket #95 , slightly changed but basically the same. Thanx Ralith :)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 02 Oct 2008 03:25:46 +0200 |
parents | f0c20d50d4b3 |
children |
line wrap: on
line source
module mini.ptrcond; void main() { char[4]* cp; void* vp = &cp; assert(cp < vp); }