view compile/i/is_15_K.d @ 1249:f882d5f15f9e

[Issue 611] New: IsExpression fails when inside implemented interface Michael Arntzenius <daekharel@gmail.com> 2006-11-27 news:bug-611-3@http.d.puremagic.com/issues/
author thomask
date Wed, 29 Nov 2006 21:20:44 +0000
parents
children daef239f37cf
line wrap: on
line source

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

// @author@	Michael Arntzenius <daekharel@gmail.com>
// @date@	2006-11-27
// @uri@	news:bug-611-3@http.d.puremagic.com/issues/
// @desc@	[Issue 611] New: IsExpression fails when inside implemented interface

module dstress.compile.i.is_15_K;

template I(T){
	interface I{
	}

	static assert(is(C : .I!(C)));
}

class C : I!(C){
}