Extended Description
$ cat reduced.cpp
template class C {
enum { K = 1 };
int i : K;
unsigned u() { return i; }
};
$ clang -cc1 -fsyntax-only reduced.cpp
clang: /home/smeenai/llvm-project/clang/lib/AST/ExprConstant.cpp:14529: bool clang::Expr::isIntegerConstantExpr(llvm::APSInt &, const clang::ASTContext &, clang::SourceLocation *, bool) const: Assertion `!isValueDependent() && "Expression evaluator can't be called on a de
pendent expression."' failed.
I bisected this to 878a24e, so it's a regression from 9 to 10.