Mercurial > projects > ldc
annotate test/classes11.d @ 254:8187884566fa trunk
[svn r271] Fixed debug info for implicit 'this' param.
Fixed debug info for arguments passed byval (ref and out params still missing).
author | lindquist |
---|---|
date | Thu, 12 Jun 2008 18:04:28 +0200 |
parents | e5fe8521bbfa |
children | d9d5d59873d8 |
rev | line source |
---|---|
128
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
1 module classes11; |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
2 |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
3 void main() |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
4 { |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
5 static class C |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
6 { |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
7 void func() |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
8 { |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
9 printf("Hello world\n"); |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
10 } |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
11 } |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
12 |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
13 scope c = new C; |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
14 c.func(); |
e5fe8521bbfa
[svn r132] Added some tests. some will fail at the moment.
lindquist
parents:
diff
changeset
|
15 } |