annotate run/t/template_27_C.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents 21a9e3e2dbb1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
818
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
1 // $HeadURL$
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
2 // $Date$
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
3 // $Author$
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
4
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
5 // @author@ Don Clugston <dac@nospam.com.au>
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
6 // @date@ 2006-02-08
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 818
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6186
818
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
8
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
9 module dstress.run.t.template_27_C;
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
10
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
11 template frog(char F){
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
12 const int frog = 1;
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
13 }
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
14
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
15 template frog(int F){
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
16 const int frog = 2;
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
17 }
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
18
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
19 template frog(char F: 'A'){
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
20 const int frog = 3;
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
21 }
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
22
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
23 template frog(int F: 65){
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
24 const int frog = 4;
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
25 }
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
26
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
27 int main(){
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
28 static assert(frog!('A') == 3);
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
29 return 0;
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
30 }
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
31
21a9e3e2dbb1 Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
32