This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] Fix libstdc++/40915


Hi,

tested x86_64-linux, with and without PCHs, committed to mainline.

Paolo.

///////////////////
2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/40915
	* testsuite/18_support/headers/exception/synopsis.cc: Fix
	std::terminate declaration.
Index: testsuite/18_support/headers/exception/synopsis.cc
===================================================================
--- testsuite/18_support/headers/exception/synopsis.cc	(revision 150259)
+++ testsuite/18_support/headers/exception/synopsis.cc	(working copy)
@@ -29,7 +29,7 @@
 
   typedef void (*terminate_handler)();
   terminate_handler set_terminate(terminate_handler  f ) throw();
-  void terminate();
+  void terminate() throw();
 
   bool uncaught_exception() throw();
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]