annotate run/t/template_38_B.d @ 1320:daef239f37cf

sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author thomask
date Sun, 31 Dec 2006 19:59:08 +0000
parents 606a9d4edc0e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1074
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
1 // $HeadURL$
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
2 // $Date$
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
3 // $Author$
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
4
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
5 // @author@ <h3r3tic@mat.uni.torun.pl>
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
6 // @date@ 2006-06-21
1320
daef239f37cf sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 1074
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=215
1074
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
8
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
9 module dstress.run.t.template_38_B;
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
10
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
11 template T() {
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
12 template foo(int i) {
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
13 bar b;
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
14 }
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
15
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
16 int x = 1;
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
17 }
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
18
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
19
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
20 struct S {
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
21 mixin T!();
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
22 }
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
23
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
24 int main(){
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
25 S s;
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
26 if(s.x != 1){
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
27 assert(0);
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
28 }
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
29
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
30 return 0;
606a9d4edc0e <h3r3tic@mat.uni.torun.pl>
thomask
parents:
diff changeset
31 }