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

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents 785c8eaa48b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
919
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
1 // $HeadURL$
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
2 // $Date$
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
3 // $Author$
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
4
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
5 // @author@ <oskar.linde@gmail.com>
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
6 // @date@ 2005-03-16
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1126
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6684
919
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
8
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
9 module dstress.run.t.typeof_08_C;
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
10
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
11 typeof("abc"w) y;
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
12
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
13 int main(){
1126
785c8eaa48b4 various test case fixes
thomask
parents: 919
diff changeset
14 static if(!is(typeof(y) == wchar[3])){
919
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
15 static assert(0);
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
16 }
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
17
1126
785c8eaa48b4 various test case fixes
thomask
parents: 919
diff changeset
18 if(y.length != 3){
919
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
19 assert(0);
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
20 }
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
21
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
22 return 0;
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
23 }
4ed1f9f14948 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
24