xref: /aosp_15_r20/external/clang/test/CodeGen/debug-info-same-line.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -debug-info-kind=limited -o - | FileCheck %s
2 // Here two temporary nodes are identical (but should not get uniqued) while
3 // building the full debug type.
4 typedef struct { long x; } foo; typedef struct {  foo *x; } bar;
5 // CHECK: !DICompositeType(tag: DW_TAG_structure_type,{{.*}} line: 4, size: 64,
6 // CHECK: !DICompositeType(tag: DW_TAG_structure_type,{{.*}} line: 4, size: 64,
7 bar b;
8