Mercurial > projects > dstress
view nocompile/invariant_07.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | ec5e144583ea |
children |
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(); }