Sign in
android
/
toolchain
/
llvm-project
/
refs/heads/mirror-goog-main-rust-toolchain-source
/
.
/
clang
/
test
/
SemaObjCXX
/
unsupported-signature-std-addressof-id.mm
blob: a591163714ee5bb8503bb538baefff822b72b6fc [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -verify %s
// expected-no-diagnostics
namespace
std
{
template
<
class
T
>
T
*
addressof
(
T
&);
}
void
f
(
id obj
)
{
(
void
)
std
::
addressof
(*
obj
);
}