Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
refs/heads/users/matthias-springer/dialect_conv_no_fold
/
.
/
clang
/
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
);
}