hanchenye-llvm-project/clang/test/CodeGenObjC/no-sanitize.m

10 lines
268 B
Objective-C

// RUN: %clang_cc1 %s -emit-llvm -fsanitize=address -fblocks -o - | FileCheck %s
@interface I0 @end
@implementation I0
// CHECK-NOT: sanitize_address
- (void) im0: (int) a0 __attribute__((no_sanitize("address"))) {
int (^blockName)() = ^int() { return 0; };
}
@end