[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / SemaCXX / new-delete-predefined-decl-2.cpp
blobc2dfc77d01fba01a6a17a60e904378eb6fd68fb3
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -DQUALIFIED -fsyntax-only -verify %s
3 // expected-no-diagnostics
5 // PR5904
6 void f0(int *ptr) {
7 #ifndef QUALIFIED
8 operator delete(ptr);
9 #endif
12 void f1(int *ptr) {
13 ::operator delete[](ptr);