The attached test case crashes Sema as we call IsVariableAConstantExpression which has as a precondition
that we don't call it on a VarDecl with a value dependent init expression.
Details
Details
- Reviewers
v.g.vassilev
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Could you double-check if we can add this to an existing test? Would test/SemaCXX/pr25181-crash-on-invalid.cpp fit and potentially rename it.
test/SemaCXX/cxx11-odr-use-crash-on-invalid.cpp | ||
---|---|---|
8 | Looks like this line has spacing problems. |
Looks like this line has spacing problems.