view run/s/static_if_01_A.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 c4c154735ebb
children
line wrap: on
line source

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

module dstress.run.s.static_if_01_A;

static if (1){
	int i = 9;
}else{
	static assert(0);
}

int main(){
	if(i == 9){
		return 0;
	}
}