annotate nocompile/default_argument_05.d @ 564:e77e4444c170

partial metadata fix
author thomask
date Thu, 02 Jun 2005 15:42:31 +0000
parents 1f6cf5ccfbc9
children 52c9e86b6486
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
139
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
1 // $HeadURL$
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
2 // $Date$
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
3 // $Author$
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
4
564
e77e4444c170 partial metadata fix
thomask
parents: 338
diff changeset
5 // @author@ tetsuya <tetsuya_member@pathlink.com>
139
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
6 // @date@ 2004-11-15
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 139
diff changeset
7 // @uri@ news:cnaidd$2rnr$1@digitaldaemon.com
a33ad7189d21 1) news:// -> news:
thomask
parents: 139
diff changeset
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2275
139
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
9
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 140
diff changeset
10 // __DSTRESS_ELINE__ 16
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 140
diff changeset
11
139
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
12 module dstress.nocompile.default_argument_05;
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
13
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
14 template Template(int L){
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
15 int i;
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
16 void test(int b = Template.i) {
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
17 }
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
18 }
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
19
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
20 int main(){
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
21 mixin Template!(10);
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
22 return 0;
9eda85342d8a 1) templated default arguments
thomask
parents:
diff changeset
23 }