Sign in
llvm
/
clang
/
1571f048734190c5ed03d1a6083e579ec7b5801f
/
.
/
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
;
}