Mac OS X 10.4.9 for x86 Source Code gcc 实现源代码

源代码在线查看: elide2.c

软件大小: 38649 K
上传用户: liuchuyuan
关键词: Source Code Mac for
下载地址: 免注册下载 普通下载 VIP

相关代码

				// PR c++/13944								// Verify that we still call terminate() if we do run the copy constructor,				// and it throws.								// { dg-do run }								#include 				#include 								struct A				{				  A() { }				  A(const A&) { throw 1; }				};								A a;								void				good_terminate() { std::exit (0); }								int main()				{				  std::set_terminate (good_terminate);				  try				    {				      throw a;				    }				  catch (...)				    {				      return 2;				    }				  return 3;				}							

相关资源