blob: a791222d504b84cfb3f0a686d041d65b3a4c5f8e [file] [log] [blame]
Douglas Katzman3459ce22015-10-08 04:24:12 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -debug-info-kind=limited -o - | FileCheck %s
Adrian Prantl5f66bae2015-02-11 17:45:15 +00002// Here two temporary nodes are identical (but should not get uniqued) while
3// building the full debug type.
4typedef struct { long x; } foo; typedef struct { foo *x; } bar;
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +00005// CHECK: !DICompositeType(tag: DW_TAG_structure_type,{{.*}} line: 4, size: 64,
6// CHECK: !DICompositeType(tag: DW_TAG_structure_type,{{.*}} line: 4, size: 64,
Adrian Prantl5f66bae2015-02-11 17:45:15 +00007bar b;