[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / CodeGenObjC / initialize-function-static.m
blobd6836db2a94ce1d206141bf8c45198d7a144a189
1 // RUN: %clang_cc1 -triple x86_64-apple-macos10.15 -emit-llvm -fobjc-arc -o - %s | FileCheck %s
3 @interface I
4 @end
6 I *i(void) {
7   static I *i = ((void *)0);
8   return i;
11 // CHECK-NOT: __cxa_guard_acquire
12 // CHECK-NOT: __cxa_guard_release