view nocompile/s/struct_initialization_09_B.d @ 1275:a00c90d4303d

[Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion Tom <chievo3@gmail.com> 2006-11-09 news:bug-490-3@http.d.puremagic.com/issues/
author thomask
date Sat, 23 Dec 2006 19:47:07 +0000
parents
children daef239f37cf
line wrap: on
line source

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

// @author@	Tom <chievo3@gmail.com>
// @date@	2006-11-09
// @uri@	news:bug-490-3@http.d.puremagic.com/issues/
// @desc@	[Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion

// __DSTRESS_ELINE__ 19

module dstress.nocompile.s.struct_initialization_09_B;

struct S {
	int a;
}

void foo(){
 	S s = {a:1};
}