view run/s/static_if_04_A.d @ 1604:cc724d521a34

Add note about possible issues with test case depending on switch scopes.
author Christian Kamm <kamm incasoftware de>
date Sat, 28 Mar 2009 19:17:58 +0100
parents 893c2d75daf4
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);
	}
}