Mercurial > projects > ldc
view tests/mini/ptrcond.d @ 1316:8c65217be813
Work around an LLVM bug by not referring to globals from metadata. This was
only used for consistency checking anyway.
For the LLVM bug, see http://llvm.org/PR4180 / http://llvm.org/PR4046
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Fri, 08 May 2009 16:00:44 +0200 |
parents | f0c20d50d4b3 |
children |
line wrap: on
line source
module mini.ptrcond; void main() { char[4]* cp; void* vp = &cp; assert(cp < vp); }