Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f6cde77d7bc34bbee26b086ff192637af8e9da59
/
.
/
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
;
}