Steve Naroff | 7aa5475 | 2008-08-27 16:04:49 +0000 | [diff] [blame] | 1 | // RUN: clang -fsyntax-only -verify -parse-noop %s |
2 | |||||
3 | struct blockStruct { | ||||
4 | int (^a)(float, int); | ||||
5 | int b; | ||||
6 | }; | ||||
7 | |||||
8 | int blockTaker (int (^myBlock)(int), int other_input) | ||||
9 | { | ||||
10 | return 0; | ||||
11 | } | ||||
12 | |||||
13 | int main (int argc, char **argv) | ||||
14 | { | ||||
15 | int (^blockptr) (int); | ||||
16 | return 0; | ||||
17 | } | ||||
18 |