Sign in
rust
/
rust-lang
/
llvm-project
/
2a2ea6b49e79325e0d10d33fac2b10ea3bebcc7c
/
.
/
clang
/
test
/
SemaObjCXX
/
unsupported-signature-std-addressof-id.mm
blob: a591163714ee5bb8503bb538baefff822b72b6fc [
file
] [
log
] [
blame
]
// 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
);
}