view run/s/static_if_04_D.d @ 1537:457db9394771

[Issue 1204] segfault using struct in CTFE Don Clugston <clugdbug@yahoo.com.au> 2007-04-30 http://d.puremagic.com/issues/show_bug.cgi?id=1204
author thomask
date Mon, 07 May 2007 05:21:26 +0000
parents 893c2d75daf4
children
line wrap: on
line source

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

module dtsress.run.s.static_if_04_B;

int main(){
	const int i = 1;

	static if(i==2){
		static assert(0);
	}else{
		return 0;
	}
}