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