view compile/bug_dsymbol_611_C.d @ 1593:a2c2122f2f66

Remove error line information for simple tests that may legitimately have another line referenced in the error message.
author Christian Kamm <kamm incasoftware de>
date Thu, 28 Aug 2008 17:30:16 +0200
parents 7f61ab8d5df0
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	h3r3tic <foo@bar.baz>
// @date@	2004-12-26
// @uri@	news:cqml2m$1ujj$1@digitaldaemon.com
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2604

module dstress.compile.bug_dsymbol_611_C;

interface INode{
	INode owner();
}

class BasicNode : INode{
	INode findNode(){
		foreach(INode c ; m_children){
			if(!(c.owner is this))
				continue;
			return null;
		}
	}
	
	INode owner(){
		return this;
	}

	INode[] m_children;
}