aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/no-sanitize.m
blob: b5c6a5ad745f3ee6dd1446741cf8782bfcb058bc (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 %s -emit-llvm -fsanitize=address -fblocks -o - | FileCheck %s

@interface I0 @end
@implementation I0
// CHECK-NOT: Function Attrs: sanitize_address
- (void) im0: (int) a0 __attribute__((no_sanitize("address"))) {
  int (^blockName)(void) = ^int(void) { return 0; };
}
@end