Mercurial > projects > dstress
view nocompile/this_07.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | 9a121126b077 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Benjamin Herr // @date@ 2005-04-09 // __DSTRESS_ELINE__ 25 module dstress.nocompile.this_07; class Foo { this(int i) { this.i = i; } void f() { assert(i); } int i; } int main() { void function() fg = &Foo.f; fg(); return 0; }