1 // UNSUPPORTED: system-windows 2 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s 3 4 // CHECK: @tentative_attr_first = global i32 undef 5 int tentative_attr_first __attribute__((loader_uninitialized)); 6 int tentative_attr_first; 7 8 // CHECK: @tentative_attr_second = global i32 undef 9 int tentative_attr_second; 10 int tentative_attr_second __attribute__((loader_uninitialized)); 11 12 // CHECK: @array = global [16 x float] undef 13 float array[16] __attribute__((loader_uninitialized)); 14 15 typedef struct 16 { 17 int x; 18 float y; 19 } s; 20 21 // CHECK: @i = global %struct.s undef 22 s i __attribute__((loader_uninitialized)); 23 24 // CHECK: @private_extern_ok = hidden global i32 undef 25 __private_extern__ int private_extern_ok __attribute__((loader_uninitialized)); 26