[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / clang / test / CodeGenObjC / hidden-visibility.m
blob12338d6bc9d5d56c5888b2e472dbce53a95947a0
1 // RUN: %clang_cc1 -triple i386-apple-macosx -fvisibility=hidden -emit-llvm -o - %s | FileCheck %s
2 // CHECK: @"OBJC_IVAR_$_I.P" = hidden
3 // CHECK: @"OBJC_CLASS_$_I" = hidden
4 // CHECK: @"OBJC_METACLASS_$_I" = hidden
5 // CHECK: @"_OBJC_PROTOCOL_$_Prot0" = weak hidden
7 @interface I {
8   int P;
11 @property int P;
12 @end
14 @implementation I
15 @synthesize P;
16 @end
19 @protocol Prot0 @end
21 id f0(void) {
22   return @protocol(Prot0);