annotate run/s/struct_23_G.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents 4c00dcf48a0c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
821
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
1 // $HeadURL$
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
2 // $Date$
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
3 // $Author$
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
4
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
5 // @author@ Chris Miller <chris@dprogramming.com>
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
6 // @date@ 2006-02-07
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 821
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6182
821
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
8
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
9 module dstress.run.s.struct_23_G;
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
10
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
11 struct Foo {
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
12 Foo* f;
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
13 }
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
14
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
15 int main(){
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
16 Foo f;
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
17 assert(f.f is null);
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
18
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
19 f.f = &f;
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
20 assert(*f.f == f);
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
21
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
22 return 0;
4c00dcf48a0c Chris Miller <chris@dprogramming.com>
thomask
parents:
diff changeset
23 }