[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaObjC / class-stub-attr-unsupported.m
blobcc5243fac6eab36ee62e3e681d3af9af7eca179b
1 // RUN: %clang -target i386-apple-darwin -fsyntax-only -Xclang -verify %s
2 // RUN: %clang -target i386-apple-darwin -x objective-c++ -fsyntax-only -Xclang -verify %s
4 @interface NSObject
5 @end
7 __attribute__((objc_class_stub)) // expected-warning {{'objc_class_stub' attribute ignored}}
8 __attribute__((objc_subclassing_restricted))
9 @interface StubClass : NSObject
10 @end