annotate run/c/class_23_D.d @ 1319:81222734adf3

sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
author thomask
date Sun, 31 Dec 2006 19:58:06 +0000
parents b87623b56a7f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
997
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
1 // $HeadURL$
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
2 // $Date$
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
3 // $Author$
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
4
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
5 // @author@ <benoit@tionex.de>
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
6 // @date@ 2006-05-10
1319
81222734adf3 sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 997
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=133
997
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
8
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
9 module dstress.run.c.class_23_D;
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
10
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
11 class FooT(V){
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
12 }
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
13
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
14 class Foo : Bar {
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
15 }
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
16
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
17 class Bar : FooT!(int) {
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
18 }
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
19
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
20 int main(){
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
21 Foo f = new Foo();
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
22
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
23 if(!f){
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
24 assert(0);
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
25 }
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
26
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
27 return 0;
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
28 }
b87623b56a7f <benoit@tionex.de>
thomask
parents:
diff changeset
29