1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple i386-pc-win32 %s -emit-llvm -fms-compatibility -o - | FileCheck %s 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc char __declspec(align(8192)) x; 4*0a6a1f1dSLionel Sambuc // CHECK-DAG: @x = global i8 0, align 8192 5*0a6a1f1dSLionel Sambuc 6*0a6a1f1dSLionel Sambuc typedef char __declspec(align(8192)) T; 7*0a6a1f1dSLionel Sambuc T y; 8*0a6a1f1dSLionel Sambuc // CHECK-DAG: @y = global i8 0, align 8192 9*0a6a1f1dSLionel Sambuc 10*0a6a1f1dSLionel Sambuc T __declspec(align(8192)) z; 11*0a6a1f1dSLionel Sambuc // CHECK-DAG: @z = global i8 0, align 8192 12*0a6a1f1dSLionel Sambuc 13*0a6a1f1dSLionel Sambuc int __declspec(align(16)) redef; 14*0a6a1f1dSLionel Sambuc int __declspec(align(32)) redef = 8; 15*0a6a1f1dSLionel Sambuc // CHECK-DAG: @redef = global i32 8, align 32 16