view compile/o/opCast_05_A.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents a720cd88e876
children
line wrap: on
line source

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

// @author@	Brad Roberts <braddr@puremagic.com>
// @date@	2006-03-12
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=43
// @desc@	[Issue 43] enable-checking error found in std/socket.d

module dstress.compile.c.opCast_05_A;

struct Struct {
	int i;
}

enum Enum{
	A
}

void populate(Struct* s){
	Enum type = cast(Enum)proto.i;
}