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