[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / microsoft-no-common-align.c
blob2498376fec8ed0ce1992afd6a38626a6395c3bb7
1 // RUN: %clang_cc1 -triple x86_64-windows-msvc -fcommon -emit-llvm -o - %s | FileCheck %s
2 typedef float TooLargeAlignment __attribute__((__vector_size__(64)));
3 typedef float NormalAlignment __attribute__((__vector_size__(4)));
5 TooLargeAlignment TooBig;
6 // CHECK: @TooBig = dso_local global <16 x float> zeroinitializer, align 64
7 NormalAlignment JustRight;
8 // CHECK: @JustRight = common dso_local global <1 x float> zeroinitializer, align 4
10 TooLargeAlignment *IsAPointer;
11 // CHECK: @IsAPointer = common dso_local global ptr null, align 8