annotate run/b/bug_cgcs_353_L3.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents 03b5056496f1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
647
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
1 // $HeadURL$
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
2 // $Date$
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
3 // $Author$
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
4
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
5 // @author@ James Dunne <james.jdunne@gmail.com>
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
6 // @date@ 2005-08-28
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1089
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4882
647
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
8
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
9 module dstress.run.b.bug_cgcs_353_L3;
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
10
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
11 enum Foo{
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
12 DUMMY
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
13 }
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
14
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
15 int main(){
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
16 Foo*[] foos;
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
17
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
18 assert(foos.length==0);
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
19
767
8bc1fdc33e0b fixed typos in bug_cgcs_353_*3.d and html_line_ending_dos
thomask
parents: 647
diff changeset
20 foos = foos[] ~ new Foo();
1089
03b5056496f1 pre DMD-0.163 review
thomask
parents: 767
diff changeset
21
03b5056496f1 pre DMD-0.163 review
thomask
parents: 767
diff changeset
22 if(foos.length != 1){
03b5056496f1 pre DMD-0.163 review
thomask
parents: 767
diff changeset
23 assert(0);
03b5056496f1 pre DMD-0.163 review
thomask
parents: 767
diff changeset
24 }
03b5056496f1 pre DMD-0.163 review
thomask
parents: 767
diff changeset
25
647
414e94a6862d James Dunne <james.jdunne@gmail.com>
thomask
parents:
diff changeset
26 return 0;
767
8bc1fdc33e0b fixed typos in bug_cgcs_353_*3.d and html_line_ending_dos
thomask
parents: 647
diff changeset
27 }