inclyc added inline comments.
================
Comment at: clang/test/SemaCXX/try-print-as-string-literal-type-check.cpp:7
+struct X {
+ char arr[2];
+ constexpr X() {}
----------------
The `ArrayRef<APValue> Inits` points to here does not ends with `Int`, so
`!Inits.back().getInt()` gets assertion failed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131466/new/
https://reviews.llvm.org/D131466
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits