This removes links to rdar, which is an internal bug tracker that the community doesn't have visibility into. See further discussion at: https://discourse.llvm.org/t/code-review-reminder-about-links-in-code-commit-messages/71847
13 lines
390 B
Objective-C
13 lines
390 B
Objective-C
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.14.0 %s -emit-llvm -o - | FileCheck %s
|
|
|
|
extern void OBJC_CLASS_$_f;
|
|
Class c = (Class)&OBJC_CLASS_$_f;
|
|
|
|
@implementation f @end
|
|
|
|
// Check that we override the initializer for c, and that OBJC_CLASS_$_f gets
|
|
// the right definition.
|
|
|
|
// CHECK: @c ={{.*}} global ptr @"OBJC_CLASS_$_f"
|
|
// CHECK: @"OBJC_CLASS_$_f" ={{.*}} global %struct._class_t
|