(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
enum36.C
// PR c++/82307
// { dg-do run { target c++11 } }

#include <cassert>

enum : short { VAL };

bool foo (int) { return true; }
bool foo (unsigned long long) { return false; }

int main()
{
  assert (foo (VAL));
}