[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / SemaObjC / warn-selector-selection.m
blobe395f43464ed357a63e5b0c4051fc63eb8d86f5b
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 @interface Object 
4 - (void)foo;
5 @end
7 @interface Class1
8 - (void)setWindow:(Object *)wdw;
9 @end
11 void foo(void) {
12   Object *obj;
13   [obj setWindow:0]; // expected-warning{{'Object' may not respond to 'setWindow:'}}