annotate tangotests/e.d @ 169:2df270e1ba59
trunk
[svn r185] Fixed broken nested classes with data members, did DMD change the class layout? tango.text.Regex now compiles.
Commented some of the *very* verbose logging for -vv option.
author |
lindquist |
date |
Tue, 06 May 2008 03:07:21 +0200 |
parents |
1700239cab2e |
children |
68a7dd38c03c |
rev |
line source |
132
|
1 extern(C) int printf(char*,...);
|
|
2
|
|
3 class MyClass
|
|
4 {
|
|
5 this(int i = 4)
|
|
6 {
|
|
7 inner = this.new InnerClass;
|
|
8 }
|
|
9
|
|
10 class InnerClass : Object.Monitor
|
|
11 {
|
|
12 void lock() {}
|
|
13 void unlock() {}
|
|
14 }
|
|
15
|
|
16 InnerClass inner;
|
|
17 }
|
|
18
|
|
19 void func()
|
|
20 {
|
|
21 scope c = new MyClass(42);
|
|
22 }
|