Mercurial > vim
annotate src/testdir/test75.in @ 5394:31c9acfeda8f v7.4.048
updated for version 7.4.048
Problem: Recent clang version complains about -fno-strength-reduce.
Solution: Add a configure check for the clang version. (Kazunobu Kuriyama)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 02 Oct 2013 18:23:07 +0200 |
parents | 1cf89d38aa76 |
children | 733193bf24c3 |
rev | line source |
---|---|
2610 | 1 " Tests for functions. |
2 | |
3 STARTTEST | |
4 :so small.vim | |
3026 | 5 :set cpo-=< |
2610 | 6 :" Test maparg() with a string result |
7 :map foo<C-V> is<F4>foo | |
8 :vnoremap <script> <buffer> <expr> <silent> bar isbar | |
9 :call append('$', maparg('foo<C-V>')) | |
10 :call append('$', string(maparg('foo<C-V>', '', 0, 1))) | |
11 :call append('$', string(maparg('bar', '', 0, 1))) | |
5035
1cf89d38aa76
updated for version 7.3.1261
Bram Moolenaar <bram@vim.org>
parents:
3026
diff
changeset
|
12 :map <buffer> <nowait> foo bar |
1cf89d38aa76
updated for version 7.3.1261
Bram Moolenaar <bram@vim.org>
parents:
3026
diff
changeset
|
13 :call append('$', string(maparg('foo', '', 0, 1))) |
2610 | 14 :" |
3026 | 15 :map abc x<char-114>x |
16 :call append('$', maparg('abc')) | |
17 :map abc y<S-char-114>y | |
18 :call append('$', maparg('abc')) | |
19 :" | |
2610 | 20 :/^eof/+1,$w! test.out |
21 :qa! | |
22 ENDTEST | |
23 | |
24 eof |