summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/conv1.C
blob: b6f227224640759bd76c67f82da2df0f77eee380 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do run  }
enum E { C };

E foo() {
  return C;
}

int main() {
  if (foo() != C)
    return 1;
}