[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaCXX / remove_pointer.mm
blobd1cf1fa9f4efcaafc630510c2d948869ba74cf1b
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 // expected-no-diagnostics
5 @class X;
7 static_assert(__is_same(__remove_pointer(X *), X), "");
8 static_assert(__is_same(__remove_pointer(id), id), "");