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