Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -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 
      8