Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
test
/
Rewriter
/
objc-synchronized-1.m
blob: 46738ec173ef9f21093ecaa93b5adf4ccf359383 [
file
] [
log
] [
blame
]
// RUN: clang -rewrite-test %s -o=-
id SYNCH_EXPR
();
void
SYNCH_BODY
();
void
SYNCH_BEFORE
();
void
SYNC_AFTER
();
void
foo
(
id sem
)
{
SYNCH_BEFORE
();
@synchronized
(
SYNCH_EXPR
())
{
SYNCH_BODY
();
return
;
}
SYNC_AFTER
();
}