Sign in
llvm
/
clang
/
refs/heads/release_27
/
.
/
test
/
SemaCXX
/
blocks.cpp
blob: 94295437e16142d4fa43ac65c4783f20949f67c6 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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
;
}