summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/delete1.C
blob: b170b2db61c31cefb0453c3b5a800839699d7cfd (plain)
1
2
3
4
5
6
// { dg-do assemble  }
#include <stddef.h>
struct A {
  virtual void operator delete (void *); // { dg-error "" } virtual delete
  virtual void * operator new (size_t);	 // { dg-error "" } virtual new
};