annotate run/cast_26.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents b8c0195059d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
415
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
1 // $HeadURL$
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
2 // $Date$
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
3 // $Author$
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
4
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
5 // @author@ Kris <fu@bar.com>
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
6 // @date@ 2005-04-09
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 570
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3574
415
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
8
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
9 module dstress.run.cast_26;
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
10
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
11 int main(char[][] args){
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
12 char[] s;
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
13 char[] t="a";
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
14
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
15 s = (args.length>0) ? t : null;
570
32f7f8ce5e51 updated "===" -> "is" and "!==" to "!(...===...)"
thomask
parents: 415
diff changeset
16 assert(s is t);
415
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
17 return 0;
e9b425f5e887 () ? (null) : (array)
thomask
parents:
diff changeset
18 }