Fariborz Jahanian | 9e0393d | 2012-02-04 19:06:06 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -x objective-c++ -fblocks -rewrite-objc -fobjc-fragile-abi -o - %s |
Fariborz Jahanian | e24b22b | 2009-12-18 01:15:21 +0000 | [diff] [blame] | 2 | |
3 | @interface Foo { | ||||
4 | void (^_block)(void); | ||||
5 | } | ||||
6 | @end | ||||
7 | |||||
8 | @implementation Foo | ||||
9 | - (void)bar { | ||||
10 | _block(); | ||||
11 | } | ||||
12 | @end |