Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // RUN: %clang_cc1 -DQUALIFIED -fsyntax-only -verify %s
      3 
      4 // PR5904
      5 void f0(int *ptr) {
      6 #ifndef QUALIFIED
      7   operator delete(ptr);
      8 #endif
      9 }
     10 
     11 void f1(int *ptr) {
     12   ::operator delete[](ptr);
     13 }
     14