annotate run/offsetof_22.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 |
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
|
|
8 // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3091
|
|
9
|
|
10 module dstress.run.offsetof_22;
|
|
11
|
|
12 struct MyStruct{
|
|
13 int* x;
|
|
14 }
|
|
15
|
|
16 int main(){
|
|
17 size_t t = MyStruct.x.offsetof;
|
|
18 return 0;
|
|
19 }
|