blob: 41465a039265a3f30c4b4c46fdfe177c575fbabe [file] [log] [blame]
// { dg-do compile { target c++11 } }
enum class A
{
X
};
enum class B
{
X = A::X // { dg-error "could not convert" }
};