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