xref: /llvm-project/clang/test/CodeGenObjCXX/crash-function-type.mm (revision 9ef536a12ea65a2b9e2511936327c7b621af38fb)
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