================
@@ -59,7 +59,7 @@ constexpr bool test() {
{
// bidi
- int buffer[2] = {1, 2};
+ int buffer[3] = {1, 2, 3};
----------------
AaronBallman wrote:
Thanks! I kind of figured that was the case, but it wasn't clear whether the
test should change like this or not.
@ldionne @philnik777 do you want the test to change to skip the out of bounds
read or do you want the test to change to catch the diagnostic?
https://github.com/llvm/llvm-project/pull/143667
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits