15 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s2// RUN: %clang_cc1 -DQUALIFIED -fsyntax-only -verify %s3// expected-no-diagnostics4 5// PR59046void f0(int *ptr) {7#ifndef QUALIFIED8 operator delete(ptr);9#endif10}11 12void f1(int *ptr) {13 ::operator delete[](ptr);14}15