Mercurial > projects > ldc
view tests/mini/ptrcond.d @ 657:c42173b3557b
Removed some checks for abstract llvm types that were too strict, a 'opaque* null' is a valid initializer... when structs in D can be just a forward reference.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 06 Oct 2008 14:37:00 +0200 |
parents | f0c20d50d4b3 |
children |
line wrap: on
line source
module mini.ptrcond; void main() { char[4]* cp; void* vp = &cp; assert(cp < vp); }