summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/debug-info-enum.c
blob: b4a1ce0d3a221ed6f71838619ef1834209513bf7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1  -emit-llvm -g %s -o %t
// RUN: grep DW_TAG_enumeration_type %t
// Radar 8195980

enum vtag {
  VT_ONE
};

int foo(int i) {
  return i == VT_ONE;
}