repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
hidden.m
blob
0b77e736b903fd352a12072a3fa093da3aa3a68e
1
// RUN: %clang_cc1 -emit-llvm -o %t %s
2
3
__attribute__((visibility("hidden")))
4
@interface Hidden
5
+(void) bar;
6
@end
7
8
@implementation Hidden
9
+(void) bar {}
10
@end
11
12
__attribute__((visibility("default")))
13
@interface Default
14
+(void) bar;
15
@end
16
17
@implementation Default
18
+(void) bar {}
19
@end