llvm-project/clang/test/CodeGen/enum2.c

9 lines
155 B
C

// RUN: %clang_cc1 -triple i386-unknown-unknown %s -debug-info-kind=limited -emit-llvm -o /dev/null
int v;
enum e { MAX };
void foo (void)
{
v = MAX;
}