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
6void g(void (^)());
7void f() {
8 __block int a = 0;
9 g(^() {
10 a++;
11 });
12}
13