summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-enum.cpp
blob: c08fc35af5b9619817ab79a22ea97fde72597e92 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang -fverbose-asm -S -g %s -o - | grep DW_TAG_enumeration_type

int v;
enum index  { MAX };
void foo(void)
{
  v = MAX;
}