Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s |
Mike Stump | 046efd9 | 2009-05-07 23:06:50 +0000 | [diff] [blame] | 2 | |
3 | @interface Thing {} | ||||
4 | |||||
5 | @property void(^someBlock)(void); // expected-warning {{'copy' attribute must be specified for the block property}} | ||||
6 | @property(copy) void(^OK)(void); | ||||
7 | |||||
8 | |||||
9 | @end |