[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / debug-info-enum.c
blob5454eb562e190b9585e647cdf7cd65a78bb4a3de
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
3 // CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "e"
4 // CHECK-SAME: elements: [[TEST3_ENUMS:![0-9]*]]
5 // CHECK: [[TEST3_ENUMS]] = !{[[TEST3_E:![0-9]*]]}
6 // CHECK: [[TEST3_E]] = !DIEnumerator(name: "E", value: -1)
8 enum e;
9 void func(enum e *p) {
11 enum e { E = -1 };