annotate run/o/opAnd_01_B.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_B;
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 bool A, B, C;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
13
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
14 int a = 1;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
15
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
16 if((0 < a) & (a < 10)){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
17 A = true;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
18 }else{
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
19 assert(0);
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
20 }
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
21
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
22 int b = -1;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
23 if((0 < b) & (b < 10)){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
24 assert(0);
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
25 }else{
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
26 B = true;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
27 }
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
28
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
29 int c = 11;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
30 if((0 < c) & (c < 10)){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
31 assert(0);
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
32 }else{
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
33 C = true;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
34 }
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
35
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
36 if(A & B & C){
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
37 return 0;
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
38 }
1f4e7734a7ee Don Clugston <dac@nospam.com.au>
thomask
parents:
diff changeset
39 }