bolt/deps/llvm-18.1.8/clang/test/SemaObjCXX/objcxx_openmp.mm
2025-02-14 19:21:04 +01:00

22 lines
333 B
Text

// 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