view run/o/opIn_01_A.d @ 1533:ac560364010c

enforce checks for -release builds
author thomask
date Fri, 27 Apr 2007 17:36:34 +0000
parents 902d2c168029
children
line wrap: on
line source

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

module dstress.run.o.opIn_01_A;

struct S{
	int x;

	int opIn(int i){
		return i + x;
	}
}

int main(){
	S s;
	s.x = 3;

	if((s in 5) != 8){
		assert(0);
	}

	return 0;
}