Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / debug-info-alias-pointer.c
blob507a101fe0dc563da18b3934cc1523250e5c8b3c
1 // RUN: %clang_cc1 -triple x86_64-unknown-windows-msvc -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2 // REQUIRES: asserts
4 struct S {
5 void *p;
6 };
8 struct S s[] = {
9 { .p = (void *)0, },
12 extern struct S t __attribute__((__alias__("s")));
14 // CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration, name: "t", scope: {{.*}}, entity: {{.*}}, file: {{.*}}, line: 12)