view compile/typedef_05.d @ 1628:c6ef09dfba4d

add mini test set from ldc project
author Moritz Warning <moritzwarning@web.de>
date Mon, 10 Jan 2011 19:47:18 +0100
parents 8a2ff09d62cb
children
line wrap: on
line source

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

// @author@	Stewart Gordon <smjg_1998@yahoo.com>
// @date@	2004-09-06

module dstress.compile.typedef_05;

typedef char[] String;

char[] test(String s){
	return s[4..6];
}