hanchenye-llvm-project/clang/test/CodeGen/darwin-thread-specifier.c

4 lines
157 B
C

// RUN: %clang_cc1 -triple x86_64-apple-macosx10.7.0 -emit-llvm -o - %s | FileCheck %s
// CHECK: @b = thread_local global i32 5, align 4
__thread int b = 5;