repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaObjCXX
/
unsupported-signature-std-addressof-id.mm
blob
a591163714ee5bb8503bb538baefff822b72b6fc
1
// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -verify %s
2
// expected-no-diagnostics
3
4
namespace std {
5
template <class T>
6
T* addressof(T&);
7
}
8
9
void f(id obj) {
10
(void)std::addressof(*obj);
11
}