view run/s/static_if_04_B.d @ 1615:8d5c55d163fd

Fix some outdated tests that used auto to mean scope.
author Christian Kamm <kamm incasoftware de>
date Sun, 12 Jul 2009 16:44:52 +0200
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;
	}
}