YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/debug-info-enum.c
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

12 lines
167 B
C

// 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;
}