Mercurial > projects > dstress
annotate run/offsetof_53.d @ 1384:d3a3e0c251d8
nntp: -> http:
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:10:07 +0000 |
parents | 52c9e86b6486 |
children |
rev | line source |
---|---|
302 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <derick_eddington@nospam.yahoo.nospam.com> | |
6 // @date@ 2005-03-06 | |
7 // @uri@ news:d0dfb6$1mrv$1@digitaldaemon.com | |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3091 |
302 | 9 |
10 module dstress.run.offsetof_53; | |
11 | |
12 struct MyStruct{ | |
13 cfloat x; | |
14 } | |
15 | |
16 int main(){ | |
17 size_t t = MyStruct.x.offsetof; | |
18 return 0; | |
19 } |