view addon/bug_20050903_Y.d @ 1622:d402aa53926c

Add test for bug 3092 written by Manuel K?nig
author Leandro Lucarella <llucax@gmail.com>
date Tue, 19 Oct 2010 19:18:23 -0300
parents 35c50493907e
children
line wrap: on
line source

module addon.bug_20050903_Y;

template DataStreamability(){
	const int isStreamable = true;

	void read(int st, int val){
		st >>= val;
	}
}

struct Vector(T){
	static if (DataStreamability!().isStreamable){
	}
}