view undefined/scope_08_F.d @ 1590:1d1f281a9b11

Move const_11 to compile. Addresses of globals are valid constants.
author Christian Kamm <kamm incasoftware de>
date Mon, 25 Aug 2008 22:08:00 +0200
parents c87fab2c0689
children
line wrap: on
line source

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

// @author@	<thomas-dloop@kuehne.cn>
// @date@	2006-03-09
// @uri@	news:bug-29-3@http.d.puremagic.com/bugzilla/

module dstress.undefined.scope_08_F;

int main(){
	scope(failure){
		return 0;
	}

	throw new Exception("msg");
}