Mercurial > projects > dil
comparison src/tests/forward03.d @ 806:bcb74c9b895c
Moved out files in the trunk folder to the root.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 09 Mar 2008 00:12:19 +0100 |
parents | trunk/src/tests/forward03.d@b4c9f1cb19c6 |
children |
comparison
equal
deleted
inserted
replaced
805:a3fab8b74a7d | 806:bcb74c9b895c |
---|---|
1 /++ | |
2 Author: Aziz Köksal | |
3 +/ | |
4 | |
5 // Impossible static circular reference. | |
6 const x = y; | |
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 } |