Mercurial > projects > ldc
view tests/mini/bug49.d @ 1449:301a916eceef
Remove redundant null-check in member functions of structs that don't have an
invariant.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 01 Jun 2009 01:28:18 +0200 |
parents | 44f08170f4ef |
children |
line wrap: on
line source
module bug49; struct S { int i; long l; } void main() { S s; s.i = 0x__FFFF_FF00; s.l = 0xFF00FF_FF00; s.i &= s.l; }