Mercurial > projects > dstress
annotate run/typedef_04.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 | b8c0195059d9 |
children |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
0 | 4 |
5 // @author@ berupon <yu@3dcg.ne.jp> | |
6 // @date@ 2004-06-10 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=444 |
0 | 8 |
374 | 9 module dstress.run.typedef_04; |
10 | |
0 | 11 typedef int Int; |
12 | |
13 class Test( T = Int){ | |
14 } | |
15 | |
16 alias Test!() Test2; | |
17 | |
18 int main(){ | |
19 Test2 t; | |
20 return 0; | |
21 } |