Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenObjC/extern-void-class-decl.m @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 1f2b6ac9f198 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.14.0 %s -emit-llvm -o - | FileCheck %s // rdar://45077269 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