view run/bug_todt_194_B.d @ 353:0eb25b549476

fixed precedence problem Walter <walter@digitalmars.com> 2005-03-22 mail:008901c52ec3$f6857910$0200a8c0@colossus
author thomask
date Tue, 22 Mar 2005 11:41:47 +0000
parents 8a0f597f549a
children b8c0195059d9
line wrap: on
line source

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

// @author@	zwang <nehzgnaw@gmail.com>
// @date@	2005-02-03
// @uri@	news:cttjcg$44f$1@digitaldaemon.com

module dstress.run.bug_todt_194_B;

int main(){
	assert((new MyStruct!()).i==int.sizeof);
	return 0;
}

struct MyStruct(){
	int i=func(0).sizeof;
}

int func(...){
	return 0;
}