Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaObjCXX / unsupported-signature-std-addressof-id.mm
bloba591163714ee5bb8503bb538baefff822b72b6fc
1 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -verify %s
2 // expected-no-diagnostics
4 namespace std {
5     template <class T>
6     T* addressof(T&);
9 void f(id obj) {
10     (void)std::addressof(*obj);