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

9 lines
133 B
C

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