Mercurial > projects > dstress
annotate run/debug_info_03.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 58ba24adbc52 |
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 module dstress.run.debug_info_03; | |
10 | |
11 class MyClass{ | |
12 int check(fn f){ | |
13 return 1; | |
14 } | |
15 } | |
16 | |
17 alias int function(MyClass m) fn; | |
18 | |
19 int main(){ | |
20 MyClass m = new MyClass(); | |
21 fn f; | |
22 assert(m.check(f)==1); | |
23 return 0; | |
24 } |