brintos

brintos / llvm-project-archived public Read only

0
0
Text · 269 B · 280497a Raw
13 lines · plain
1// Mark test as unsupported on PS5 due to PS5 doesn't support function sanitizer.2// UNSUPPORTED: target=x86_64-sie-ps53 4// RUN: %clang_cc1 -fblocks -fsanitize=function -emit-llvm %s -o %t5 6void g(void (^)());7void f() {8  __block int a = 0;9  g(^() {10    a++;11  });12}13