Mercurial > projects > dstress
view run/offsetof_64.d @ 302:41de5acbb735
offsetof
<derick_eddington@nospam.yahoo.nospam.com>
2005-03-06
news:d0dfb6$1mrv$1@digitaldaemon.com
nntp://news.digitalmars.com/digitalmars.D.bugs/3091
author | thomask |
---|---|
date | Sat, 12 Mar 2005 10:54:19 +0000 |
parents | |
children | 52c9e86b6486 |
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 // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3091 module dstress.run.offsetof_64; struct MyStruct{ char[] x; } int main(){ size_t t = MyStruct.x.offsetof; return 0; }