hanchenye-llvm-project/clang/test/Parser/block-pointer-decl.c

19 lines
256 B
C

// RUN: clang -fsyntax-only -verify -parse-noop %s
struct blockStruct {
int (^a)(float, int);
int b;
};
int blockTaker (int (^myBlock)(int), int other_input)
{
return 0;
}
int main (int argc, char **argv)
{
int (^blockptr) (int);
return 0;
}