blob: a789e2a83709be99840abc0d9114986981610fba [file] [log] [blame]
Alexey Bataev07b568a2020-11-12 11:42:30 -08001// RUN: %clang_cc1 -fopenmp -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4class Foo {
5 int a;
6};
7
8@interface NSObject
9@end
10
11@interface Bar : NSObject {
12 Foo *foo;
13}
14- (void)setSystemAndWindowCocoa:(class Foo *)foo_1;
15
16@end
17
18@implementation Bar : NSObject
19- (void)setSystemAndWindowCocoa:(Foo *)foo_1 {
20 foo = foo_1;
21}
22@end