(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
scoped_enum9.C
// DR 685 - Integral promotion of enumeration ignores fixed underlying type.
// { dg-do compile { target c++11 } }

enum E: long { e };

void f(int);
int f(long);

void g() {
  int k = f(e);
}