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