summaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/no-sanitize.m
blob: 07a196b6419dc26a3cf7b174d055ae4a9c050645 (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: sanitize_address
- (void) im0: (int) a0 __attribute__((no_sanitize("address"))) {
  int (^blockName)() = ^int() { return 0; };
}
@end