blob: 07a196b6419dc26a3cf7b174d055ae4a9c050645 [file] [log] [blame]
Vedant Kumar29477dc2017-12-08 02:47:58 +00001// RUN: %clang_cc1 %s -emit-llvm -fsanitize=address -fblocks -o - | FileCheck %s
Peter Collingbourne915df992015-05-15 18:33:32 +00002
3@interface I0 @end
4@implementation I0
5// CHECK-NOT: sanitize_address
6- (void) im0: (int) a0 __attribute__((no_sanitize("address"))) {
Vedant Kumar29477dc2017-12-08 02:47:58 +00007 int (^blockName)() = ^int() { return 0; };
Peter Collingbourne915df992015-05-15 18:33:32 +00008}
9@end