blob: 9d789bb3252ad6ce0527322881f56186c2937feb [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -verify %s -fblocks
void tovoid(void*);
void tovoid_test(int (^f)(int, int)) {
tovoid(f);
}
void reference_lvalue_test(int& (^f)()) {
f() = 10;
}