summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/enum2.C
blob: dea7dc17be053aaab7008621d2cab40609bfe523 (plain)
1
2
3
4
5
6
7
8
9
#include <limits.h>
enum test {
  z = 0,
  c = UINT_MAX + 1LL
} x = z;

int main() {
  return x != z;
}