view run/s/static_if_04_B.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_D;

const int i = 1;

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