view run/s/struct_initialization_13_C.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents 6424a05d3113
children
line wrap: on
line source

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

// @author@	<pop.atry@gmail.com>
// @date@	2007-09-21
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1523
// @desc@	[Issue 1523] struct literals not work with typedef

module dstress.run.s.struct_initialization_13_C;

struct BaseStruct {
	int n;
	char c;
}

typedef BaseStruct MyStruct;

int main() {
	MyStruct m = MyStruct(3, '\x02');

        return 0;
}