1 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
3 // CHECK: @b = external thread_local global
4 // CHECK: @d.e = internal thread_local global
5 // CHECK: @d.f = internal thread_local global
6 // CHECK: @a = thread_local global
9 int c() { return *&b
; }
11 __thread
static int e
;
12 __thread
static union {float a
; int b
;} f
= {.b
= 1};