llvm-for-llvmta/tools/clang/test/SemaObjCXX/objcxx_openmp.mm

23 lines
333 B
Plaintext
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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