annotate run/s/static_if_05_A.d @ 575:893c2d75daf4

basic static if testing
author thomask
date Sat, 11 Jun 2005 06:07:28 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
575
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
1 // $HeadURL$
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
2 // $Date$
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
3 // $Author$
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
4
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
6 // @date@ 2005-06-10
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
7 // @uri@ news:oouon2-li3.ln1@lnews.kuehne.cn
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
8 // @desc@ mixing "static if" and "if"
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
9
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
10 module dstress.run.s.static_of_05_A;
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
11
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
12 int main(){
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
13 const int i=1;
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
14 static if(i==1){
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
15 return 0;
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
16 }else if(i==2){
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
17 return 1;
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
18 }
893c2d75daf4 basic static if testing
thomask
parents:
diff changeset
19 }