llvm-project/clang/test/CodeGenCXX/debug-info-enum.cpp

9 lines
133 B
C++
Raw Normal View History

// RUN: %clang -fverbose-asm -S -g %s -o - | grep DW_TAG_enumeration_type
int v;
enum index { MAX };
void foo(void)
{
v = MAX;
}