Mercurial > projects > dstress
view run/const_10.d @ 1615:8d5c55d163fd
Fix some outdated tests that used auto to mean scope.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Jul 2009 16:44:52 +0200 |
parents | ce33adb482a7 |
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; }