llvm-project/clang/test/CodeGenObjC/initialize-function-static.m

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
237 B
Mathematica
Raw Normal View History

// RUN: %clang_cc1 -triple x86_64-apple-macos10.15 -emit-llvm -fobjc-arc -o - %s | FileCheck %s
@interface I
@end
I *i() {
static I *i = ((void *)0);
return i;
}
// CHECK-NOT: __cxa_guard_acquire
// CHECK-NOT: __cxa_guard_release