annotate run/o/opAnd_01_A.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents 1f4e7734a7ee
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
796
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
1 // $HeadURL$
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
2 // $Date$
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
3 // $Author$
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
4
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
5 // @author@ Don Clugston <dac@nospam.com.au>
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
6 // @date@ 2006-01-20
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 796
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6049
796
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
8
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
9 module dstress.run.o.opAnd_01_A;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
10
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
11 int main(){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
12 const int a = 1;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
13
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
14 static if((0 < a) & (a < 10)){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
15 static bool A = true;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
16 }else{
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
17 static assert(0);
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
18 }
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
19
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
20 const int b = -1;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
21 static if((0 < b) & (b < 10)){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
22 static assert(0);
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
23 }else{
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
24 static bool B = true;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
25 }
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
26
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
27 const int c = 11;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
28 static if((0 < c) & (c < 10)){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
29 static assert(0);
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
30 }else{
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
31 static bool C = true;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
32 }
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
33
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
34 if(A && B && C){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
35 return 0;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
36 }
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
37 }