1// RUN: %clang_cc1 -triple x86_64-apple-ios6.0.0 -emit-llvm -o - %s | FileCheck %s
2// rdar://18150301
3
4@interface Query
5+ (void)_configureCI;
6@end
7
8__attribute__((visibility("default"))) __attribute__((availability(ios,introduced=7.0)))
9@interface ObserverQuery : Query @end
10
11@implementation ObserverQuery
12+ (void)_configureCI {
13    [super _configureCI];
14}
15@end
16
17// CHECK: @"OBJC_METACLASS_$_ObserverQuery" = global %struct._class_t
18// CHECK: @OBJC_SELECTOR_REFERENCES_ = internal externally_initialized global
19