| 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 |