view run/version_04.d @ 394:2568b5ff35c0

updated version identifer AMD64 -> X86_64
author thomask
date Wed, 06 Apr 2005 20:02:21 +0000
parents f87ba6507260
children a9a4ec32f7a0
line wrap: on
line source

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

module dstress.run.version_04;

int main(){
	int cpu=0;
	
	version(X86){
		cpu++;
	}

	version(X86_64){
		cpu++;
	}

	version(IA64){
		cpu++;
	}

	version(PPC){
		cpu++;
	}

	version(Sparc){
		assert(0); // this isn't yet part of the standard (v0.111)
	}

	assert(cpu==1);

	return 0;
}