Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-elf / del.cc
blob4e2cc60d74a979b1a6787a5f5c175c1b78c7d234
1 #include <new>
3 extern "C" void free (void *);
5 void
6 operator delete (void *ptr, const std::nothrow_t&) throw ()
8 if (ptr)
9 free (ptr);
12 void
13 operator delete (void *ptr) throw ()
15 if (ptr)
16 free (ptr);
19 void
20 operator delete[] (void *ptr) throw ()
22 ::operator delete (ptr);
25 void
26 operator delete[] (void *ptr, const std::nothrow_t&) throw ()
28 ::operator delete (ptr);