diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-25 23:12:55 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-25 23:12:55 +0300 |
commit | 056cd074c60d940d5bb46410f114a6c2584daaae (patch) | |
tree | e2b095b3740b35cc95a8b25fd10ee5d81288565e /test/typeof3.awk | |
parent | 5b246a31d63a31180136934adbed361651f325ba (diff) | |
parent | 3712ad29b6cddcf49bf1507f5677a49ccfcff83d (diff) | |
download | egawk-056cd074c60d940d5bb46410f114a6c2584daaae.tar.gz egawk-056cd074c60d940d5bb46410f114a6c2584daaae.tar.bz2 egawk-056cd074c60d940d5bb46410f114a6c2584daaae.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 'test/typeof3.awk')
-rw-r--r-- | test/typeof3.awk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/typeof3.awk b/test/typeof3.awk new file mode 100644 index 00000000..d148f373 --- /dev/null +++ b/test/typeof3.awk @@ -0,0 +1,19 @@ +BEGIN { + x = @/xx/ + print typeof(x) + print x +} + +# this set may not really be needed for the test +BEGIN { + x = 4 + print typeof(@/xxx/) + print typeof(3) + print x +} + +BEGIN { + print typeof(x) + print typeof(a[1]) + a[1][2] # fatals on this +} |