blob: fd87d992aaf422f88b43e525c37cdd8b02c60197 [file] [log] [blame]
Daniel Dunbarc5a97ec2009-11-17 07:07:28 +00001// RUN: clang-cc --emit-llvm -o %t %s
Daniel Dunbarb21d6af2008-09-04 04:36:23 +00002
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