1 // GROUPS passed operators
3 // From: David Binderman 3841 <dcb@us-es.sel.de>
4 // Date: Mon, 21 Jun 93 11:42:11 +0200
5 // Subject: G++ 2.4.3 and operator new
6 // Message-ID: <9306210942.AA10276@slsvitt.us-es.sel.de>
12 extern "C" int printf( const char *, ...);
14 void * operator new(size_t, const std::nothrow_t&) throw() { FLAG=1; return 0; }
27 K * pK = new (std::nothrow) K( 10);
29 { printf ("FAIL\n"); return 1; }