Alexey Bataev | 07b568a | 2020-11-12 11:42:30 -0800 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fopenmp -fsyntax-only -verify %s |
2 | // expected-no-diagnostics | ||||
3 | |||||
4 | class 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 |