Mercurial > projects > dstress
annotate run/template_class_02.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | f87ba6507260 |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
0 | 4 |
5 // @author@ berupon <yu@3dcg.ne.jp> | |
6 // @date@ 2004-05-10 | |
7 | |
374 | 8 module dstress.run.template_class_02; |
9 | |
0 | 10 typedef int MyInt; |
11 | |
12 class TemplateClass(T, T2 = MyInt){ | |
13 } | |
14 | |
15 alias TemplateClass!(int) MyClass; | |
16 | |
17 int main(){ | |
18 MyClass m = new MyClass(); | |
19 return 0; | |
20 } |