view src/tests/forward03.d @ 839:4063da6f3edd default tip

Refactored the config file and how it is loaded.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Thu, 21 Aug 2008 17:51:04 +0200
parents bcb74c9b895c
children
line wrap: on
line source

/++
  Author: Aziz Köksal
+/

// Impossible static circular reference.
const x = y;
const y = x;

// Impossible static circular reference.
struct A
{ const int a = B.b; }
struct B
{ const int b = A.a; }

struct C
{
  const x = C.x;
}