[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGenObjC / no-sanitize.m
blobb5c6a5ad745f3ee6dd1446741cf8782bfcb058bc
1 // RUN: %clang_cc1 %s -emit-llvm -fsanitize=address -fblocks -o - | FileCheck %s
3 @interface I0 @end
4 @implementation I0
5 // CHECK-NOT: Function Attrs: sanitize_address
6 - (void) im0: (int) a0 __attribute__((no_sanitize("address"))) {
7   int (^blockName)(void) = ^int(void) { return 0; };
9 @end