repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
PR12778.cpp
blob
f4d25f3e8fc93c4b079208aa51065b4c620f0500
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