Mercurial > projects > dstress
annotate run/t/typedef_22_A.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 | 4756fddca5c4 |
children |
rev | line source |
---|---|
1433 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Tomas Lindquist Olsen <tomas@famolsen.dk> | |
6 // @date@ 2007-03-14 | |
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1062 | |
8 // @desc@ [Issue 1062] Cannot catch typedef'd class | |
9 | |
10 module dstress.run.t.typedef_22_A; | |
11 | |
12 typedef Exception TypedefException; | |
13 | |
14 int main(){ | |
15 try{ | |
16 }catch(TypedefException e){ | |
17 assert(0); | |
18 } | |
19 | |
20 return 0; | |
21 } |