Sign in
llvm
/
clang
/
36a094aaa20f6951a530e9bf0250d9afcf8a341b
/
.
/
test
/
SemaCXX
/
PR12778.cpp
blob: f4d25f3e8fc93c4b079208aa51065b4c620f0500 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
void
operator
delete
()
throw
(
void
*);
// expected-error{{'operator delete' must have at least one parameter}}
void
*
allocate
(
int
__n
)
{
return
::
operator
new
(
__n
);
}