Mercurial > projects > dstress
view run/offsetof_17.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | 41de5acbb735 |
children | d3a3e0c251d8 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ <derick_eddington@nospam.yahoo.nospam.com> // @date@ 2005-03-06 // @uri@ news:d0dfb6$1mrv$1@digitaldaemon.com // @uri@ nntp://news.digitalmars.com/digitalmars.D.bugs/3091 module dstress.run.offsetof_17; struct MyStruct{ short[] x; } int main(){ size_t t = MyStruct.x.offsetof; return 0; }