patch 8.2.3581: reading character past end of line
Problem: Reading character past end of line.
Solution: Correct the cursor column.
diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim
index 1b67c85..b2f2120 100644
--- a/src/testdir/test_put.vim
+++ b/src/testdir/test_put.vim
@@ -159,5 +159,14 @@
bwipe!
endfunc
+func Test_put_above_first_line()
+ new
+ let @" = 'text'
+ silent! normal 0o00
+ 0put
+ call assert_equal('text', getline(1))
+ bwipe!
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab