Mercurial > projects > dstress
view nocompile/invariant_07.d @ 1519:f71bd33bb278
updated to DMD-1.013
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:22:49 +0000 |
parents | f87ba6507260 |
children | ec5e144583ea |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // invariant is only allowed in classes (dmd-0.104 documentation) // __DSTRESS_ELINE__ 15 module dstress.nocompile.invariant_07; int test() body{ return 0; } invariant{ assert(0); } int main(){ return test(); }