You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
333 B
23 lines
333 B
4 months ago
|
// RUN: %clang_cc1 -fopenmp -fsyntax-only -verify %s
|
||
|
// expected-no-diagnostics
|
||
|
|
||
|
class Foo {
|
||
|
int a;
|
||
|
};
|
||
|
|
||
|
@interface NSObject
|
||
|
@end
|
||
|
|
||
|
@interface Bar : NSObject {
|
||
|
Foo *foo;
|
||
|
}
|
||
|
- (void)setSystemAndWindowCocoa:(class Foo *)foo_1;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@implementation Bar : NSObject
|
||
|
- (void)setSystemAndWindowCocoa:(Foo *)foo_1 {
|
||
|
foo = foo_1;
|
||
|
}
|
||
|
@end
|