Mercurial > projects > dstress
annotate run/debug_info_06.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | b8c0195059d9 |
children |
rev | line source |
---|---|
367 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Jarrett Billingsley <kb3ctd2@yahoo.com> | |
6 // @date@ 2005-03-25 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3346 |
367 | 8 |
9 | |
10 module dstress.run.debug_info_06; | |
11 | |
12 struct MyStruct{ | |
13 } | |
14 | |
15 int check(fn f){ | |
16 return 1; | |
17 } | |
18 | |
19 alias int function(int m) fn; | |
20 | |
21 int main(){ | |
22 MyStruct m; | |
23 fn f; | |
24 assert(check(f)==1); | |
25 return 0; | |
26 } |