Mercurial > projects > ldc
annotate test/classes11.d @ 133:44a95ac7368a trunk
[svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
In particular, assertions has been fixed to include file/line info, and much more!
author | lindquist |
---|---|
date | Mon, 14 Jan 2008 05:11:54 +0100 |
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 } |