Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
test
/
Sema
/
objc-bad-receiver-1.m
blob: 8376a5ced7acad9e90de5baffa19028536888e8e [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only -verify %s
@interface
I
-
(
id
)
retain
;
@end
void
__raiseExc1
()
{
[
objc_lookUpClass
(
"NSString"
)
retain
];
// expected-error {{ "bad receiver type 'int'" }}
}