view run/t/typedef_11_I.d @ 823:bb920dff06c6

Deewiant <deewiant.doesnotlike.spam@gmail.com> 2006-02-11 news:dskdle$1838$1@digitaldaemon.com
author thomask
date Sat, 11 Feb 2006 15:55:36 +0000
parents
children b8c0195059d9
line wrap: on
line source

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

// @author@	Deewiant <deewiant.doesnotlike.spam@gmail.com>
// @date@	2006-02-11
// @uri@	news:dskdle$1838$1@digitaldaemon.com

module dstress.run.t.typedef_11_I;

class Foo(TYPE) {
	TYPE x;
}

int main(){
	typedef .Foo!(int) Foo;

	Foo f = new Foo();

	if(typeid(typeof(f.x)) == typeid(int)){
		return 0;
	}
}