| 1 |
// RUN: %clang_cc1 -fsyntax-only -Wno-dynamic-exception-spec -verify %s |
| 2 |
|
| 3 |
void operator delete() throw(void*); // expected-error{{'operator delete' must have at least one parameter}} |
| 4 |
void* allocate(int __n) { |
| 5 |
return ::operator new(__n); |
| 6 |
} |
| 7 |
|