Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6c4088e5fc0ce98bf3213d47f6f38bfbfa20c813
/
.
/
test
/
Sema
/
block-as-object.m
blob: 2bfb9c37e6120d1091cf4b3d749df5eda95b2450 [
file
] [
log
] [
blame
]
Steve Naroff
6c4088e
2008-09-29 16:51:41 +0000
[
diff
] [
blame^
]
1
// RUN: clang %s -fsyntax-only -verify
2
3
@interface
Whatever
4
-
copy
;
5
@end
6
7
typedef
long
(^
MyBlock
)(
id obj1
,
id obj2
);
8
9
void
foo
(
MyBlock
b
)
{
10
id bar
=
[
b copy
];
11
}
12