Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
SemaCXX
/
PR12778.cpp
blob: 62183720e2caa6716747781f2e6bfe0b6c4d7d9b [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -Wno-dynamic-exception-spec -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
);
}