Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / selector-warning.h
blobbd419293daf032755b73e965c09a82bca0e24b1e
1 typedef struct objc_selector *SEL;
3 @interface Foo
4 - (void) NotOK;
5 @end
7 @implementation Foo
8 - (void) foo
10 SEL a = @selector(b1ar);
11 a = @selector(b1ar);
12 a = @selector(bar);
13 a = @selector(ok); // expected-warning {{unimplemented selector 'ok'}}
14 a = @selector(ok);
15 a = @selector(NotOK); // expected-warning {{unimplemented selector 'NotOK'}}
16 a = @selector(NotOK);
18 a = @selector(clNotOk); // expected-warning {{unimplemented selector 'clNotOk'}}
20 a = @selector (cl1);
21 a = @selector (cl2);
22 a = @selector (instNotOk); // expected-warning {{unimplemented selector 'instNotOk'}}
24 @end