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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
PR12778.cpp
blob
62183720e2caa6716747781f2e6bfe0b6c4d7d9b
1
// RUN: %clang_cc1 -fsyntax-only -Wno-dynamic-exception-spec -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