Mercurial > hg > CbC > CbC_llvm
view clang/test/SemaObjC/class-stub-attr-unsupported.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang -target i386-apple-darwin -fsyntax-only -Xclang -verify %s // RUN: %clang -target i386-apple-darwin -x objective-c++ -fsyntax-only -Xclang -verify %s @interface NSObject @end __attribute__((objc_class_stub)) // expected-warning {{'objc_class_stub' attribute ignored}} __attribute__((objc_subclassing_restricted)) @interface StubClass : NSObject @end