brintos

brintos / llvm-project-archived public Read only

0
0
Text · 455 B · 42fdb26 Raw
15 lines · cpp
1//  Test for debug info related to DW_AT_alignment attribute in the typedef operator2// Supported: -O0, standalone DI3// 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 %s7 8// CHECK: DIDerivedType(tag: DW_TAG_typedef, {{.*}}, align: 5129 10typedef char __attribute__((__aligned__(64))) alchar;11 12int main() {13  alchar newChar;14}15