Mercurial > projects > dstress
annotate run/s/scope_14_D.d @ 1488:1ee9a0dd42d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 12:29:50 +0000 |
parents | cd5da42e46da |
children |
rev | line source |
---|---|
1217
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
2 // $Date$ |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
3 // $Author$ |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
4 |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
5 // @author@ Michael Arntzenius <daekharel@gmail.com> |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
6 // @date@ 2006-11-20 |
1488 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=9156 |
1217
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 235] goto & scope: cannot goto forward into different try block level |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
9 |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
10 module dstress.run.s.scope_14_D; |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
11 |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
12 class C { |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
13 synchronized void foo() { |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
14 return; |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
15 } |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
16 } |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
17 |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
18 int main(){ |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
19 C c = new C(); |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
20 c.foo(); |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
21 |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
22 return 0; |
cd5da42e46da
[Issue 235] goto & scope: cannot goto forward into different try block level
thomask
parents:
diff
changeset
|
23 } |