Mercurial > projects > dstress
view nocompile/with_06.d @ 338:1f6cf5ccfbc9
1) updated rules to dmd-0.119
2) added __DSTRESS_ELINE__ tags
author | thomask |
---|---|
date | Mon, 21 Mar 2005 20:45:57 +0000 |
parents | 0fcca61f008f |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // has to be a class instance or struct reference // __DSTRESS_ELINE__ 14 module dstress.nocompile.with_06; class MyClass{ void test(){ char[] c="Inhalt"; with(c){ assert(0); } } } int main(){ MyClass c = new MyClass(); c.test(); return 0; }