view run/s/static_if_04_A.d @ 575:893c2d75daf4

basic static if testing
author thomask
date Sat, 11 Jun 2005 06:07:28 +0000
parents
children
line wrap: on
line source

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

module dtsress.run.s.static_if_04_A;

int main(){
	const int i = 1;

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