Sign in
cobalt
/
cobalt
/
0c2b1d4428f8ae16220e86a16bebd07ff691a412
/
.
/
third_party
/
llvm-project
/
clang
/
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
);
}