The error-bit was missing, if a DeclRefExpr (which refers to a VarDecl
with a contains-errors initializer).
It could cause different violations in clang -- the DeclRefExpr is value-dependent,
but not contains-errors, decltype(DeclRefExpr) could produce a non-error
dependent type in non-template context.
clang-tidy: error: function definition is not allowed here [clang-diagnostic-error]
not useful