summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/enum2.c
blob: 3203627b8983bc8d26e75c7000102f53f6414412 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -g -emit-llvm -o /dev/null
int v;
enum e { MAX };

void foo (void)
{
  v = MAX;
}