Mercurial > projects > dstress
annotate run/alias_12.d @ 1576:b3e16c86558e
[Issue 1398] New: GDC doesn't generate correct code
<mariusmuja@gmail.com>
2007-08-04
http://d.puremagic.com/issues/show_bug.cgi?id=1398
author | thomask |
---|---|
date | Thu, 21 Feb 2008 15:20:08 +0000 |
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 } |