• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2 
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)
7 
8 enum e;
func(enum e * p)9 void func(enum e *p) {
10 }
11 enum e { E = -1 };
12