view run/auto_01.d @ 1585:9f62db65faf5

[Issue 1612] New: No file/line number for using an undefined label in inline assembly <matti.niemenmaa+dbugzilla@iki.fi> 2007-10-24 http://d.puremagic.com/issues/show_bug.cgi?id=1612
author thomask
date Fri, 22 Feb 2008 07:55:57 +0000
parents 6e4063f99377
children
line wrap: on
line source

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

// @author@	Sean Kelly <sean@f4.ca>
// @date@	2004-09-11
// @uri@	news:chtj6t$24bm$1@digitaldaemon.com
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=1821

module dstress.run.auto_01;

auto class AutoClass{
	this(){
		throw new Exception("error msg");
	}
	~this(){
		throw new Exception("should never throw");
	}
}

int main(){
	try{
		auto AutoClass ac = new AutoClass();
	}catch{
		return 0;
	}
	assert(0);
}