Mercurial > projects > dil
comparison trunk/src/tests/forward03.d @ 652:b4c9f1cb19c6
Added test forward05.d.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 15 Jan 2008 12:10:46 +0100 |
parents | 2a690956cf1c |
children |
comparison
equal
deleted
inserted
replaced
651:2a690956cf1c | 652:b4c9f1cb19c6 |
---|---|
3 +/ | 3 +/ |
4 | 4 |
5 // Impossible static circular reference. | 5 // Impossible static circular reference. |
6 const x = y; | 6 const x = y; |
7 const y = x; | 7 const y = x; |
8 | |
9 // Impossible static circular reference. | |
10 struct A | |
11 { const int a = B.b; } | |
12 struct B | |
13 { const int b = A.a; } | |
14 | |
15 struct C | |
16 { | |
17 const x = C.x; | |
18 } |