xref: /llvm-project/clang/test/CodeGen/avr/objc-method.m (revision c8b2f3f51bd923afbf9d3ebd0823bce895629630)
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
22