1 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.14.0 %s -emit-llvm -o - | FileCheck %s
3 extern void OBJC_CLASS_$_f;
4 Class c = (Class)&OBJC_CLASS_$_f;
8 // Check that we override the initializer for c, and that OBJC_CLASS_$_f gets
9 // the right definition.
11 // CHECK: @c ={{.*}} global ptr @"OBJC_CLASS_$_f"
12 // CHECK: @"OBJC_CLASS_$_f" ={{.*}} global %struct._class_t