Mercurial > projects > dstress
annotate run/o/opCat_18_C.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 3b547ab9ee53 |
children |
rev | line source |
---|---|
786 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Don Clugston <dac@nospam.com.au> | |
6 // @date@ 2005-12-30 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5924 |
786 | 8 |
795 | 9 module dstress.run.o.opCat_18_C; |
786 | 10 |
11 class Dog(char[] duck){ | |
12 const int dog = 2; | |
13 } | |
14 | |
795 | 15 const int aardvark = Dog!("cat" ~ "cat").dog; |
786 | 16 |
17 int main(){ | |
18 if(aardvark == 2){ | |
19 return 0; | |
20 } | |
21 } |