view src/testdir/test104.in @ 5722:7e826028d399 v7.4.206

updated for version 7.4.206 Problem: Compiler warnings on 64 bit Windows. Solution: Add type casts. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Wed, 19 Mar 2014 12:37:22 +0100
parents 22387c8eec43
children 839cca5ec18d
line wrap: on
line source

Tests for autoload.  vim: set ft=vim ts=8 :

STARTTEST
:so small.vim
:set runtimepath+=./sautest
:" Test to not autoload when assigning.  It causes internal error.
:try
:  let Test104#numvar = function('tr')
:  $put ='OK: ' . string(Test104#numvar)
:catch
:  $put ='FAIL: ' . v:exception
:endtry
:/^Results/,$wq! test.out
ENDTEST

Results of test104: