view compile/c/class_24_B.d @ 1026:a4b91ec616fa

DMD crash with static if and anonymous classes <h3r3tic@mat.uni.torun.pl> 2006-05-05 news:bug-128-3@http.d.puremagic.com/bugzilla/
author thomask
date Wed, 24 May 2006 16:24:07 +0000
parents
children 81222734adf3
line wrap: on
line source

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

// @author@	<h3r3tic@mat.uni.torun.pl>
// @date@	2006-05-05
// @uri@	news:bug-128-3@http.d.puremagic.com/bugzilla/

module dstress.compile.c.class_24_B;

class Foo {
}

void main(){
	typeof(new () class Foo{}) x;

	Foo y;
	y = x;
}