Mercurial > projects > dstress
annotate run/alias_12.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | 6e4063f99377 |
children |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
111 | 5 // @author@ J C Calvarese <jcc7@cox.net> |
6 // @date@ 2004-06-21 | |
140 | 7 // @uri@ news:cb7rbq$2qjd$1@digitaldaemon.com |
1487 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=572 |
111 | 9 |
10 module dstress.run.alias_12; | |
11 | |
12 int test(){ | |
13 return 0; | |
14 } | |
15 | |
16 class StdFile{ | |
17 alias test check; | |
18 } | |
19 | |
20 int main(){ | |
21 StdFile f = new StdFile(); | |
22 f.check(); | |
23 return 0; | |
24 } |