xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/private-extern-selector-reference.m (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-ios6.0.0 -emit-llvm -o - %s | FileCheck %s
2*0a6a1f1dSLionel Sambuc// rdar://18150301
3*0a6a1f1dSLionel Sambuc
4*0a6a1f1dSLionel Sambuc@interface Query
5*0a6a1f1dSLionel Sambuc+ (void)_configureCI;
6*0a6a1f1dSLionel Sambuc@end
7*0a6a1f1dSLionel Sambuc
8*0a6a1f1dSLionel Sambuc__attribute__((visibility("default"))) __attribute__((availability(ios,introduced=7.0)))
9*0a6a1f1dSLionel Sambuc@interface ObserverQuery : Query @end
10*0a6a1f1dSLionel Sambuc
11*0a6a1f1dSLionel Sambuc@implementation ObserverQuery
12*0a6a1f1dSLionel Sambuc+ (void)_configureCI {
13*0a6a1f1dSLionel Sambuc    [super _configureCI];
14*0a6a1f1dSLionel Sambuc}
15*0a6a1f1dSLionel Sambuc@end
16*0a6a1f1dSLionel Sambuc
17*0a6a1f1dSLionel Sambuc// CHECK: @"OBJC_METACLASS_$_ObserverQuery" = global %struct._class_t
18*0a6a1f1dSLionel Sambuc// CHECK: @OBJC_SELECTOR_REFERENCES_ = private externally_initialized global
19