view trunk/src/test/forward02.d @ 626:50f22f0467e6

Added test case forward03.d.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 11 Jan 2008 15:06:53 +0100
parents 7949bb4c1618
children 5289f71934cb
line wrap: on
line source

/++
  Author: Jari-Matti Mäkelä
+/

// Valid circular composition because of pointer.
struct A { B* b; }
struct B { A a; }
// Equivalent to:
struct A { A* a }