repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
SemaObjC
/
invalid-receiver.m
blob
1174dd2e1706da32651d5e010a481d9d8412fd39
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
typedef struct NotAClass {
4
int a, b;
5
} NotAClass;
6
7
void foo() {
8
[NotAClass nonexistent_method]; // expected-error {{receiver type 'NotAClass' (aka 'struct NotAClass') is not an Objective-C class}}
9
}