Mercurial > projects > dstress
view addon/bug_20050903_Y.d @ 1590:1d1f281a9b11
Move const_11 to compile. Addresses of globals are valid constants.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 25 Aug 2008 22:08:00 +0200 |
parents | 35c50493907e |
children |
line wrap: on
line source
module addon.bug_20050903_Y; template DataStreamability(){ const int isStreamable = true; void read(int st, int val){ st >>= val; } } struct Vector(T){ static if (DataStreamability!().isStreamable){ } }