[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-template-align.cpp
blob42fdb269a30b59671c3635e0877c87336a39054c
1 // Test for debug info related to DW_AT_alignment attribute in the typedef operator
2 // Supported: -O0, standalone DI
3 // RUN: %clang_cc1 -dwarf-version=5 -emit-llvm -triple x86_64-linux-gnu %s -o - \
4 // RUN: -O0 -disable-llvm-passes \
5 // RUN: -debug-info-kind=standalone \
6 // RUN: | FileCheck %s
8 // CHECK: DIDerivedType(tag: DW_TAG_typedef, {{.*}}, align: 512
10 typedef char __attribute__((__aligned__(64))) alchar;
12 int main() {
13 alchar newChar;