Mercurial > projects > dstress
comparison run/with_11.d @ 1616:7b7967dd4203
More auto -> scope changes.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Jul 2009 17:14:44 +0200 |
parents | 6e4063f99377 |
children |
comparison
equal
deleted
inserted
replaced
1615:8d5c55d163fd | 1616:7b7967dd4203 |
---|---|
7 // @uri@ news:ck3qie$1nia$1@digitaldaemon.com | 7 // @uri@ news:ck3qie$1nia$1@digitaldaemon.com |
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2042 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2042 |
9 | 9 |
10 module dstress.run.with_11; | 10 module dstress.run.with_11; |
11 | 11 |
12 auto class AutoClass{ | 12 scope class ScopeClass{ |
13 } | 13 } |
14 | 14 |
15 int main(){ | 15 int main(){ |
16 auto AutoClass ac = new AutoClass(); | 16 scope ScopeClass ac = new ScopeClass(); |
17 | 17 |
18 with(ac){ | 18 with(ac){ |
19 } | 19 } |
20 | 20 |
21 return 0; | 21 return 0; |