Debian Codegraph @

clang/test/CodeGen/avr/objc-method.m

raw
1 // RUN: %clang_cc1 -triple avr -emit-llvm -fobjc-runtime=macosx %s -o /dev/null
2
3 __attribute__((objc_root_class))
4 @interface Foo
5
6 - (id)foo;
7 - (id)bar;
8
9 @end
10
11 @implementation Foo
12
13 - (id)foo {
14 return self;
15 }
16
17 - (id)bar {
18 return [self foo];
19 }
20
21 @end