Mercurial > projects > dang
comparison tests/parser/new_1.d @ 162:0f38f1a0f06f
Fixed symbol for a functions members.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Tue, 22 Jul 2008 16:22:58 +0200 |
parents | a2d9121d6dff |
children | 362265427838 |
comparison
equal
deleted
inserted
replaced
161:0e10479623f6 | 162:0f38f1a0f06f |
---|---|
6 } | 6 } |
7 | 7 |
8 this(int y) | 8 this(int y) |
9 { | 9 { |
10 } | 10 } |
11 | |
12 int x; | |
11 } | 13 } |
12 | 14 |
13 struct B | 15 struct B |
14 { | 16 { |
15 } | 17 } |
16 | 18 |
17 void main() | 19 void main() |
18 { | 20 { |
19 B b; | 21 B b; |
20 long x; | 22 long x; |
21 A a = new A(b); | 23 A a = new A(x); |
22 } | 24 } |