view run/c/class_25_B.d @ 1586:a74f0139fc3d

Fix tests using typeof on types.
author Christian Kamm <kamm incasoftware de>
date Thu, 21 Aug 2008 15:42:21 +0200
parents daef239f37cf
children
line wrap: on
line source

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

// @author@	Søren J. Løvborg <web@kwi.dk>
// @date@	2006-08-05
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=279

module dstress.run.c.class_25_B;

int x = 123;

int main(){
	Object o = new class Object{
		this(){
			if(x != 123){
				assert(0);
			}
		}
	};

	return 0;
}