view complex/assert_21/a.d @ 1599:d37b19f7e8bb

Move run/c/case_01 to nocompile.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 17:28:31 +0200
parents 6caf8b7e726a
children
line wrap: on
line source

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

// @author@	Jarrett Billingsley <jarrett.billingsley@gmail.com>
// @date@	2007-04-10
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1121
// @desc@	[Issue 1121] Assertion codegen issue with templated function

import b;

int main(){
	try{
		foo();
		func!(void)();
	}catch(Exception e){
		if("AssertError Failure b.d(13) GO" == e.toString()){
			return 0;
		}
	}

	assert(0);
}