comparison run/d/delete_12_D.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 b8c0195059d9
children
comparison
equal deleted inserted replaced
1614:709f6451b315 1615:8d5c55d163fd
31 } 31 }
32 } 32 }
33 } 33 }
34 34
35 void test(){ 35 void test(){
36 auto Foo f = new Foo(); 36 scope Foo f = new Foo();
37 delete f; 37 delete f;
38 } 38 }
39 39
40 int main(){ 40 int main(){
41 if(status++ != 0){ 41 if(status++ != 0){