Commit 37692da
Add safe-init test to prevent adding cold elements to hot arrays
This adds a negative test to ensure that the initialization checker does
nt allow cold values to be inserted into hot arrays through a method
call.1 parent 34261df commit 37692da
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments