view run/const_10.d @ 1605:392a442e2d64

Use tuple value instead of tuple type as asm arg!
author Christian Kamm <kamm incasoftware de>
date Tue, 07 Apr 2009 17:42:12 +0200
parents ce33adb482a7
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $URL$

module dstress.run.const_10;

struct MyStruct{
	int i=2;
}

const MyStruct s;

int main(){
	assert(s.i==2);
	return 0;
}