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
/
CodeGenObjCXX
/
crash-function-type.mm
blob
280497a3258a40db599aedb884b71eb65e9c0896
1
// Mark test as unsupported on PS5 due to PS5 doesn't support function sanitizer.
2
// UNSUPPORTED: target=x86_64-sie-ps5
3
4
// RUN: %clang_cc1 -fblocks -fsanitize=function -emit-llvm %s -o %t
5
6
void g(void (^)());
7
void f() {
8
__block int a = 0;
9
g(^() {
10
a++;
11
});
12
}