view compile/template_struct_02.d @ 21:9fd186cd378a

moved and deleted bad tests
author thomask
date Fri, 08 Oct 2004 21:15:52 +0000
parents
children 4cd33115f015
line wrap: on
line source

// @author@	<hellcatv@hotmail.com>
// @date@	2004-05-06

struct vec(int size){
	float data[size];
	vec!(1) first(){
		vec!(1) t;
		t.data[0]=data[0];
		return t;
	}
}