Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -debug-info-kind=limited -o - | FileCheck %s |
Adrian Prantl | 5f66bae | 2015-02-11 17:45:15 +0000 | [diff] [blame] | 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; |
Duncan P. N. Exon Smith | 9dd4e4e | 2015-04-29 16:40:08 +0000 | [diff] [blame] | 5 | // CHECK: !DICompositeType(tag: DW_TAG_structure_type,{{.*}} line: 4, size: 64, |
| 6 | // CHECK: !DICompositeType(tag: DW_TAG_structure_type,{{.*}} line: 4, size: 64, |
Adrian Prantl | 5f66bae | 2015-02-11 17:45:15 +0000 | [diff] [blame] | 7 | bar b; |