view nocompile/a/assert_15_B.d @ 1020:165fd0587328

static assert fails with recursive templates <shro8822@uidaho.edu> 2006-05-23 news:bug-152-3@http.d.puremagic.com/bugzilla/
author thomask
date Wed, 24 May 2006 16:23:09 +0000
parents
children 81222734adf3
line wrap: on
line source

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

// @author@	<shro8822@uidaho.edu>
// @date@	2006-05-23
// @uri@	news:bug-152-3@http.d.puremagic.com/bugzilla/

// __DSTRESS_ELINE__ 14

module dstress.nocompile.a.assert_15_B;

template T(){
	static assert(0);
	const int T = T!();
}

const int x = T!();