Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
6805fc44a1b5179f6390a160c807dfb4480d7138
/
.
/
test
/
SemaObjC
/
invalid-receiver.m
blob: 829ec5dc97e2afcf475c0d6348208f16c3e5f67b [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only -verify %s
typedef
struct
NotAClass
{
int
a
,
b
;
}
NotAClass
;
void
foo
()
{
[
NotAClass
nonexistent_method
];
// expected-error {{invalid receiver to message expression}}
}