Mercurial > projects > dstress
view run/const_10.d @ 153:ce33adb482a7
added const tests
author | thomask |
---|---|
date | Thu, 25 Nov 2004 15:25:04 +0000 |
parents | |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $URL$ module dstress.run.const_10; struct MyStruct{ int i=2; } const MyStruct s; int main(){ assert(s.i==2); return 0; }