view run/t/typedef_20_B.d @ 1154:31cf6fcdd6d7

[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c' Tomasz Stachowiak <h3r3tic@mat.uni.torun.pl> 2006-09-27 news:bug-378-3@http.d.puremagic.com/issues/
author thomask
date Fri, 29 Sep 2006 06:55:45 +0000
parents
children daef239f37cf
line wrap: on
line source

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

// @author@	Tomasz Stachowiak <h3r3tic@mat.uni.torun.pl>
// @date@	2006-09-27
// @uri@	news:bug-378-3@http.d.puremagic.com/issues/
// @desc@	[Issue 378] New: Assertion failure: '0' on line 216 in file 'init.c'

module dstress.run.t.typedef_20_B;

struct Ranged(T){
	T value;
}

typedef Ranged!(char) Degree;


int main(){
	Degree d;

	if(d.value != 0xFF){
		assert(0);
	}

	return 0;
}