diff options
Diffstat (limited to 'test/CodeGen/debug-info-enum.c')
-rw-r--r-- | test/CodeGen/debug-info-enum.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/debug-info-enum.c b/test/CodeGen/debug-info-enum.c index 1f6b384..4474e40 100644 --- a/test/CodeGen/debug-info-enum.c +++ b/test/CodeGen/debug-info-enum.c @@ -1,8 +1,9 @@ // RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s -// CHECK: [[TEST3_ENUMS:![0-9]*]], null, null, null} ; [ DW_TAG_enumeration_type ] [e] +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "e" +// CHECK-SAME: elements: [[TEST3_ENUMS:![0-9]*]] // CHECK: [[TEST3_ENUMS]] = !{[[TEST3_E:![0-9]*]]} -// CHECK: [[TEST3_E]] = !{!"0x28\00E\00-1"} ; [ DW_TAG_enumerator ] [E :: -1] +// CHECK: [[TEST3_E]] = !DIEnumerator(name: "E", value: -1) enum e; void func(enum e *p) { |